|
|
@@ -13,25 +13,25 @@
|
|
|
LEFT JOIN xjr_user t6 ON t1.create_user_id = t6.id
|
|
|
WHERE t1.delete_mark = 0
|
|
|
<if test="dto.className != null and dto.className != ''">
|
|
|
- t2.name like concat('%', #{dto.className}, '%')
|
|
|
+ and t2.name like concat('%', #{dto.className}, '%')
|
|
|
</if>
|
|
|
<if test="dto.classCode != null and dto.classCode != ''">
|
|
|
- t2.code like concat('%', #{dto.classCode}, '%')
|
|
|
+ and t2.code like concat('%', #{dto.classCode}, '%')
|
|
|
</if>
|
|
|
<if test="dto.afterTeacherName != null and dto.afterTeacherName != ''">
|
|
|
- t5.name like concat('%', #{dto.afterTeacherName}, '%')
|
|
|
+ and t5.name like concat('%', #{dto.afterTeacherName}, '%')
|
|
|
</if>
|
|
|
<if test="dto.beforeTeacherName != null and dto.beforeTeacherName != ''">
|
|
|
- t4.name like concat('%', #{dto.beforeTeacherName}, '%')
|
|
|
+ and t4.name like concat('%', #{dto.beforeTeacherName}, '%')
|
|
|
</if>
|
|
|
<if test="dto.gradeId != null">
|
|
|
- t3.id = #{dto.gradeId}
|
|
|
+ and t3.id = #{dto.gradeId}
|
|
|
</if>
|
|
|
<if test="dto.gradeId != null">
|
|
|
- t3.id = #{dto.gradeId}
|
|
|
+ and t3.id = #{dto.gradeId}
|
|
|
</if>
|
|
|
<if test="dto.createDateStart != null and dto.createDateEnd != null">
|
|
|
- t1.create_date between #{dto.createDateStart} and #{dto.createDateEnd}
|
|
|
+ and t1.create_date between #{dto.createDateStart} and #{dto.createDateEnd}
|
|
|
</if>
|
|
|
order by t1.create_date desc
|
|
|
</select>
|