<시스템개선>

통합테스트목록 . 643,644
교육종료일 선택기준 변경(신청,변경)
This commit is contained in:
kdh0120 2021-12-20 02:11:24 +00:00
parent 7a3bb740b7
commit 43b6749af5
1 changed files with 4 additions and 2 deletions

View File

@ -1902,7 +1902,8 @@
a.cmisno,a.cmino,a.estart,a.eend,a.quota,a.cdt,a.udt,a.studyplace,a.studyplacename,a.startmonth
,a.remainPeople
,a.isselected
,case when a.estart &lt; date_add(date_add(date_format(now() ,'%Y-%m-%d 00:00:00'),interval 4 day ),interval -1 second) or a.remainPeople &lt;= 0 then 0 else 1 end isend
<!--211220.통합테스트목록(643) 4일부터로 변경-->
,case when a.estart &lt; date_add(date_add(date_format(now() ,'%Y-%m-%d 00:00:00'),interval 3 day ),interval -1 second) or a.remainPeople &lt;= 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
@ -1929,7 +1930,8 @@
a.cmisno,a.cmino,a.estart,a.eend,a.quota,a.cdt,a.udt,a.studyplace,a.studyplacename,a.startmonth
,a.studyplace, a.studyplacename,a.remainPeople
,a.isselected
,case when a.estart &lt; date_add(date_add(date_format(now() ,'%Y-%m-%d 00:00:00'),interval 1 day ),interval -1 second) or a.remainPeople &lt;= 0 then 0 else 1 end isend
<!--211220.통합테스트목록(644) 이미지난 교육종료일 변경불가-->
,case when a.estart &lt; date_format(now() ,'%Y-%m-%d 00:00:00') or a.remainPeople &lt;= 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