|
@@ -747,8 +747,11 @@
|
|
|
AND (((ta.sign_in_status_ = 0 OR ta.sign_out_status_ = 0) AND ta.dispose_content_ IS NULL) OR (sa.id_ IS NULL OR (sa.status_ != 'NORMAL' AND sa.visit_flag_ = 0)))
|
|
|
AND (ta.dispose_content_ IS NOT NULL OR (ta.sign_in_status_ IS NOT NULL AND ta.sign_out_status_ IS NOT NULL))
|
|
|
AND (cs.new_course_id_ IS NULL OR cs.new_course_id_=cs.id_)
|
|
|
- <if test="organIds != null and organIds != ''">
|
|
|
- AND FIND_IN_SET(cs.organ_id_,#{organIds})
|
|
|
+ <if test="organIds != null and organIds.size()>0">
|
|
|
+ AND cs.organ_id_ IN
|
|
|
+ <foreach collection="organIds" item="organId" open="(" close=")" separator=",">
|
|
|
+ #{organId}
|
|
|
+ </foreach>
|
|
|
</if>
|
|
|
GROUP BY cs.id_) c
|
|
|
</select>
|