|
@@ -140,7 +140,7 @@
|
|
|
sees.monday_ >= #{monday}
|
|
|
AND sees.sunday_ <= #{sunday}
|
|
|
<if test="search!=null">
|
|
|
- AND (stu.id_=#{search} OR stu.username_ LIKE CONCAT('%', #{search}, '%') OR tea.username_ LIKE CONCAT('%', #{search}, '%'))
|
|
|
+ AND (stu.id_=#{search} OR stu.username_ LIKE CONCAT('%', #{search}, '%') OR tea.real_name_ LIKE CONCAT('%', #{search}, '%'))
|
|
|
</if>
|
|
|
<if test="organIdList != null">
|
|
|
AND FIND_IN_SET(stu.organ_id_,#{organIdList})
|
|
@@ -191,7 +191,7 @@
|
|
|
sees.monday_ >= #{monday}
|
|
|
AND sees.sunday_ <= #{sunday}
|
|
|
<if test="search!=null">
|
|
|
- AND (stu.id_=#{search} OR stu.username_ LIKE CONCAT('%', #{search}, '%') OR tea.username_ LIKE CONCAT('%', #{search}, '%'))
|
|
|
+ AND (stu.id_=#{search} OR stu.username_ LIKE CONCAT('%', #{search}, '%') OR tea.real_name_ LIKE CONCAT('%', #{search}, '%'))
|
|
|
</if>
|
|
|
<if test="organIdList != null">
|
|
|
AND FIND_IN_SET(stu.organ_id_, #{organIdList})
|