|
@@ -589,10 +589,10 @@
|
|
|
AND cs.status_ = 'OVER' AND cs.del_flag_ = 0 AND cs.class_date_ >= #{startTime}
|
|
|
AND (ta.sign_in_status_ != 1 OR ta.sign_out_status_ != 1 OR sa.status_ != 'NORMAL') AND ta.dispose_content_ IS NULL
|
|
|
AND (cs.new_course_id_ IS NULL OR cs.new_course_id_=cs.id_)
|
|
|
- GROUP BY cs.id_) c
|
|
|
<if test="organIds != null and organIds != ''">
|
|
|
AND FIND_IN_SET(cs.organ_id_,#{organIds})
|
|
|
</if>
|
|
|
+ GROUP BY cs.id_) c
|
|
|
</select>
|
|
|
<select id="getNoAttendance" resultType="int">
|
|
|
SELECT COUNT(DISTINCT cs.id_) FROM course_schedule cs
|