|
|
@@ -136,9 +136,12 @@
|
|
|
<if test="dto.isReport != null">
|
|
|
AND (select count(*) from student_report_record where user_id = t1.id and base_semester_id = #{dto.baseSemesterId} and delete_mark = 0) = #{dto.isReport}
|
|
|
</if>
|
|
|
- <if test="dto.stduyStatus != null">
|
|
|
+ <if test="dto.stduyStatus != null and dto.stduyStatus != ''">
|
|
|
AND t10.stduy_status = #{dto.stduyStatus}
|
|
|
</if>
|
|
|
+ <if test="dto.source != null and dto.source != ''">
|
|
|
+ AND t1.source = #{dto.source}
|
|
|
+ </if>
|
|
|
<if test="dto.enrollmentPlanId != null">
|
|
|
AND t1.enrollment_plan_id = #{dto.enrollmentPlanId}
|
|
|
</if>
|