|
@@ -440,7 +440,7 @@
|
|
LEFT JOIN sys_user su ON t.id_ = su.id_
|
|
LEFT JOIN sys_user su ON t.id_ = su.id_
|
|
WHERE
|
|
WHERE
|
|
FIND_IN_SET(#{subjectIds},t.subject_id_)
|
|
FIND_IN_SET(#{subjectIds},t.subject_id_)
|
|
- AND INTE_ARRAY ( CONCAT( t.organ_id_, IF(t.flow_organ_range_ IS NULL,'',CONCAT(',', t.flow_organ_range_)) ), #{organIds} )
|
|
|
|
|
|
+ AND (FIND_IN_SET(t.organ_id_, #{organIds}) OR INTE_ARRAY(t.flow_organ_range_, #{organIds}))
|
|
</select>
|
|
</select>
|
|
<select id="findByTeacherId" resultMap="TeacherBasicDto">
|
|
<select id="findByTeacherId" resultMap="TeacherBasicDto">
|
|
SELECT
|
|
SELECT
|