|
|
@@ -138,13 +138,12 @@
|
|
|
left join evaluate_template t7 on t7.id = t1.evaluate_template_id
|
|
|
left join xjr_dictionary_detail t8 on t8.code = t7.evaluate_type
|
|
|
left join base_classroom t9 on t9.id = t5.classroom_id
|
|
|
- left join base_class_major_set t10 on t10.class_id = t5.id
|
|
|
- left join base_major_set t11 on t11.id = t10.major_set_id
|
|
|
+ left join base_major_set t11 on t11.id = t5.major_set_id
|
|
|
where t.create_date like concat('%', #{dto.todayDate}, '%')
|
|
|
and t2.user_id = #{dto.loginUserId}
|
|
|
and t.evaluate_manage_id = #{dto.evaluateManageId}
|
|
|
<if test="dto.majorId != null and dto.majorId > 0">
|
|
|
- and t10.major_id = #{dto.majorId}
|
|
|
+ and t5.major_set_id = #{dto.majorId}
|
|
|
</if>
|
|
|
<if test="dto.officeBuildId != null and dto.officeBuildId > 0">
|
|
|
and t8.officeBuildId = #{dto.officeBuildId}
|