diff --git a/Dao/MyBatis/Maps/CM.xml b/Dao/MyBatis/Maps/CM.xml index 542b2a7..7a216a2 100644 --- a/Dao/MyBatis/Maps/CM.xml +++ b/Dao/MyBatis/Maps/CM.xml @@ -1931,7 +1931,7 @@ ,a.studyplace, a.studyplacename,a.remainPeople ,a.isselected - ,case when a.estart < date_format(now() ,'%Y-%m-%d 00:00:00') or a.remainPeople <= 0 then 0 else 1 end isend + ,case when a.estart < date_add(date_format(now() ,'%Y-%m-%d 00:00:00'),interval -1 second) or a.remainPeople <= 0 then 0 else 1 end isend from ( select a.cmisno,a.cmino,a.estart,a.eend,a.quota,a.cdt,a.udt,month(a.estart) startmonth