<오류개선>

통합테스트목록 . 640
일정변경시 일자입력 오류
This commit is contained in:
kdh0120 2021-12-15 02:27:29 +00:00
parent 31e59ba0b2
commit cb0595108d
2 changed files with 3 additions and 3 deletions

View File

@ -608,7 +608,7 @@
<update id="cm.cminningscd.up.lect" parameterClass="cminningscd">
update lect a
left outer join cminningscd b on b.cmisno = a.cmisno
set a.edate = b.eend
set a.edate = date_format(b.eend,'%Y-%m-%d 23:59:59')
where a.cmisno = #cmisno#;
</update>
<update id="cm.cmev.clear" parameterClass="cminning">
@ -2070,7 +2070,7 @@
update lect a
left outer join cminningscd b on b.cmisno = a.cmisno
set a.edate = case when b.eend is not null then b.eend else a.edate end
set a.edate = case when b.eend is not null then date_format(b.eend,'%Y-%m-%d 23:59:59') else a.edate end
where a.lectno = #lectno#;
</update>
<select id="cm.cms.offs" parameterClass="hashtable" resultClass="cm">

View File

@ -1839,7 +1839,7 @@
update lect a
left outer join cminningscd b on b.cmisno = a.cmisno
set a.edate = case when a.edate is not null then case when b.eend is not null then b.eend else a.edate end else a.edate end
set a.edate = case when a.edate is not null then case when b.eend is not null then date_format(b.eend,'%Y-%m-%d 23:59:59') else a.edate end else a.edate end
where a.lectno = #lectno#;
</update>
<select id="lect.checkuser.cmisno" parameterClass="hashtable" resultClass="int">