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#;