|
@@ -409,6 +409,9 @@
|
|
from student st
|
|
from student st
|
|
LEFT JOIN sys_music_compare_record smcr ON smcr.user_id_ = st.user_id_
|
|
LEFT JOIN sys_music_compare_record smcr ON smcr.user_id_ = st.user_id_
|
|
<where>
|
|
<where>
|
|
|
|
+ <if test="queryInfo.clientId != null and queryInfo.clientId!= ''">
|
|
|
|
+ AND smcr.client_id_ = #{queryInfo.clientId}
|
|
|
|
+ </if>
|
|
<if test="queryInfo.startTime != null and queryInfo.startTime != ''">
|
|
<if test="queryInfo.startTime != null and queryInfo.startTime != ''">
|
|
AND smcr.create_time_ BETWEEN #{queryInfo.startTime} AND #{queryInfo.endTime}
|
|
AND smcr.create_time_ BETWEEN #{queryInfo.startTime} AND #{queryInfo.endTime}
|
|
</if>
|
|
</if>
|