From cb0595108d07e164fbc8711b1649544f79893b1d Mon Sep 17 00:00:00 2001 From: kdh0120 Date: Wed, 15 Dec 2021 02:27:29 +0000 Subject: [PATCH] =?UTF-8?q?<=EC=98=A4=EB=A5=98=EA=B0=9C=EC=84=A0>=20?= =?UTF-8?q?=ED=86=B5=ED=95=A9=ED=85=8C=EC=8A=A4=ED=8A=B8=EB=AA=A9=EB=A1=9D?= =?UTF-8?q?=20.=20640=20=EC=9D=BC=EC=A0=95=EB=B3=80=EA=B2=BD=EC=8B=9C=20?= =?UTF-8?q?=EC=9D=BC=EC=9E=90=EC=9E=85=EB=A0=A5=20=EC=98=A4=EB=A5=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dao/MyBatis/Maps/CM.xml | 4 ++-- Dao/MyBatis/Maps/Lect.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dao/MyBatis/Maps/CM.xml b/Dao/MyBatis/Maps/CM.xml index 8d53dbd..d24e0ff 100644 --- a/Dao/MyBatis/Maps/CM.xml +++ b/Dao/MyBatis/Maps/CM.xml @@ -608,7 +608,7 @@ 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#; @@ -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#;