|
@@ -4328,7 +4328,8 @@
|
|
|
and cs.live_remind_ = 0
|
|
|
and cs.type_ = 'LIVE'
|
|
|
and cs.class_date_ = date_format(now(),'%Y-%m-%d')
|
|
|
- and cs.start_class_time_ <= date_format(now(),'%H:%i:%s')
|
|
|
+ and CONCAT(class_date_,' ',start_class_time_) >= date_format(date_add(now(),interval -#{minutes} minute),'%Y-%m-%d %H:%i:%s')
|
|
|
+ and CONCAT(class_date_,' ',start_class_time_) <= date_format(now(),'%Y-%m-%d %H:%i:%s')
|
|
|
</select>
|
|
|
|
|
|
<update id="updateRemindStatus">
|