|
@@ -153,7 +153,7 @@
|
|
|
LEFT JOIN sys_user s ON s.id_ = cssp.user_id_
|
|
|
WHERE cs.actual_teacher_id_ = #{teacherId}
|
|
|
<if test="student != null and student != ''">
|
|
|
- AND (s.id_ = #{student} OR s.username_ LIKE CONCAT('%',#{student},'%'))
|
|
|
+ AND (s.phone_ LIKE CONCAT('%',#{student},'%') OR s.username_ LIKE CONCAT('%',#{student},'%'))
|
|
|
</if>
|
|
|
AND s.del_flag_ = 0
|
|
|
GROUP BY s.id_
|
|
@@ -165,7 +165,7 @@
|
|
|
LEFT JOIN sys_user s ON s.id_ = cssp.user_id_
|
|
|
WHERE cs.actual_teacher_id_ = #{teacherId}
|
|
|
<if test="student != null and student != ''">
|
|
|
- AND (s.id_ = #{student} OR s.username_ LIKE CONCAT('%',#{student},'%'))
|
|
|
+ AND (s.phone_ LIKE CONCAT('%',#{student},'%') OR s.username_ LIKE CONCAT('%',#{student},'%'))
|
|
|
</if>
|
|
|
AND s.del_flag_ = 0
|
|
|
</select>
|