parent
31e59ba0b2
commit
cb0595108d
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue