|
|
@@ -279,7 +279,7 @@
|
|
|
WHERE
|
|
|
ul.`status` = '1'
|
|
|
and qs.type=2
|
|
|
- and qs.send_type=2
|
|
|
+ and qs.send_type in (2,11)
|
|
|
and qs.`status` in (2,3)
|
|
|
AND ( DATEDIFF( CURRENT_DATE, ul.start_time ) ) >= #{notStudyDays}
|
|
|
ORDER BY id ASC
|
|
|
@@ -295,7 +295,7 @@
|
|
|
WHERE
|
|
|
ul.`status` = '1'
|
|
|
and qs.type=2
|
|
|
- and qs.send_type=2
|
|
|
+ and qs.send_type in (2,11)
|
|
|
and qs.`status` in (2,3)
|
|
|
AND ( DATEDIFF( CURRENT_DATE, ul.start_time ) ) < #{notStudyDays}
|
|
|
ORDER BY id ASC
|