|
@@ -135,16 +135,16 @@
|
|
|
|
|
|
<sql id="queryCondition">
|
|
|
<where>
|
|
|
- <if test="teacherId!=null">
|
|
|
+ <if test="teacherId != null">
|
|
|
AND tcr.teacher_id_=#{teacherId}
|
|
|
</if>
|
|
|
- <if test="search!=null">
|
|
|
+ <if test="search != null and search != ''">
|
|
|
AND (tcr.course_group_name_ LIKE CONCAT('%', #{search}, '%') OR tcr.music_group_id_ LIKE CONCAT(#{search}, '%'))
|
|
|
</if>
|
|
|
- <if test="organId!=null">
|
|
|
+ <if test="organId != null and organId != ''">
|
|
|
AND FIND_IN_SET(tcr.organ_id_ ,#{organId})
|
|
|
</if>
|
|
|
- <if test="settlementStatus!=null">
|
|
|
+ <if test="settlementStatus != null">
|
|
|
AND tcr.settlement_status_ = #{settlementStatus}
|
|
|
</if>
|
|
|
<if test="startTime != null">
|