parent
ad479a657e
commit
ec7c464eaf
|
|
@ -1931,7 +1931,7 @@
|
||||||
,a.studyplace, a.studyplacename,a.remainPeople
|
,a.studyplace, a.studyplacename,a.remainPeople
|
||||||
,a.isselected
|
,a.isselected
|
||||||
<!--211220.통합테스트목록(644) 이미지난 교육종료일 변경불가-->
|
<!--211220.통합테스트목록(644) 이미지난 교육종료일 변경불가-->
|
||||||
,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
|
from
|
||||||
(
|
(
|
||||||
select a.cmisno,a.cmino,a.estart,a.eend,a.quota,a.cdt,a.udt,month(a.estart) startmonth
|
select a.cmisno,a.cmino,a.estart,a.eend,a.quota,a.cdt,a.udt,month(a.estart) startmonth
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue