|
|
@@ -20,11 +20,8 @@
|
|
|
LEFT JOIN xjr_user t5 ON t.assessment_user_id = t5.id
|
|
|
LEFT JOIN xjr_dictionary_detail t6 ON t6.code= t.score_type
|
|
|
WHERE t.delete_mark = 0 AND t1.delete_mark = 0 AND t2.delete_mark = 0 AND t3.delete_mark = 0
|
|
|
- <if test="dto.projectIds != null and dto.projectIds.size() > 0">
|
|
|
- and t.base_student_assessment_project_id in
|
|
|
- <foreach item="projectId" index="index" collection="dto.projectIds" open="(" close=")" separator=",">
|
|
|
- #{projectId}
|
|
|
- </foreach>
|
|
|
+ <if test="dto.projectIds != null">
|
|
|
+ and t.base_student_assessment_project_id = #{dto.projectIds}
|
|
|
</if>
|
|
|
<if test="dto.gradeId != null">
|
|
|
and t.grade_id = #{dto.gradeId}
|