fix: sql 파라미터 오타 수정, 심사 시작시간 update 추가

main
sjh88 2 years ago
parent 8228468a10
commit 51b19b8235

@ -121,7 +121,7 @@ public class ParkingDao extends BaseMpowerDaoSupport {
final String sql = QueryGenerator.createNamedQuery(NAME_SPACE, "insertErrorLog") final String sql = QueryGenerator.createNamedQuery(NAME_SPACE, "insertErrorLog")
.setParameter("msMaincode", msMaincode) .setParameter("msMaincode", msMaincode)
.setParameter("msSeq", msSeq) .setParameter("msSeq", msSeq)
.setParameter("message", (String) rslt.get("message")) .setParameter("message", String.valueOf(rslt.get("message")))
.getQueryString(); .getQueryString();
update(sql); update(sql);
} }
@ -264,6 +264,7 @@ public class ParkingDao extends BaseMpowerDaoSupport {
.setParameter("msYear", dto.getMsYear()) .setParameter("msYear", dto.getMsYear())
.setParameter("msChasu", dto.getMsChasu()) .setParameter("msChasu", dto.getMsChasu())
.setParameter("msSdate", dto.getMsSdate()) .setParameter("msSdate", dto.getMsSdate())
.setParameter("msStartsi", dto.getMsStartsi())
.setParameter("msEdate", dto.getMsEdate()) .setParameter("msEdate", dto.getMsEdate())
.setParameter("msCdate", dto.getMsCdate()) .setParameter("msCdate", dto.getMsCdate())
.setParameter("msClosesi", dto.getMsClosesi()) .setParameter("msClosesi", dto.getMsClosesi())

@ -337,6 +337,7 @@ public class ResidentAndDisabledDao extends BaseMpowerDaoSupport {
.setParameter("msYear", dto.getMsYear()) .setParameter("msYear", dto.getMsYear())
.setParameter("msChasu", dto.getMsChasu()) .setParameter("msChasu", dto.getMsChasu())
.setParameter("msSdate", dto.getMsSdate()) .setParameter("msSdate", dto.getMsSdate())
.setParameter("msStartsi", dto.getMsStartsi())
.setParameter("msEdate", dto.getMsEdate()) .setParameter("msEdate", dto.getMsEdate())
.setParameter("msCdate", dto.getMsCdate()) .setParameter("msCdate", dto.getMsCdate())
.setParameter("msClosesi", dto.getMsClosesi()) .setParameter("msClosesi", dto.getMsClosesi())

@ -398,12 +398,13 @@
<native-query id="updateDateByMsuYear"> <native-query id="updateDateByMsuYear">
/* parking-mapper|updateDateByMsuYear|jhseo */ /* parking-mapper|updateDateByMsuYear|jhseo */
UPDATE min_simsa680 UPDATE min_simsa680
SET MS_SDATE = #{msSdate} SET ms_sdate = #{msSdate}
, MS_EDATE = #{msEdate} , ms_startsi = #{msStartsi}
, MS_CDATE = #{msCdate} , ms_edate = #{msEdate}
, MS_CLOSESI = #{msClosesi} , ms_cdate = #{msCdate}
WHERE MS_YEAR = #{msYear} , ms_closesi = #{msClosesi}
AND MS_CHASU = #{msChasu} WHERE ms_year = #{msYear}
AND ms_chasu = #{msChasu}
</native-query> </native-query>
<native-query id="insertErrorLog"> <native-query id="insertErrorLog">
@ -412,11 +413,11 @@
INTO min_simsa680_log ( INTO min_simsa680_log (
ms_maincode, ms_maincode,
ms_seq, ms_seq,
massage message
) VALUES ( ) VALUES (
#{msMaincode}, #{msMaincode},
#{msSeq}, #{msSeq},
#{massage} #{message}
) )
</native-query> </native-query>

@ -654,13 +654,14 @@
<native-query id="updateDateByMsuYear"> <native-query id="updateDateByMsuYear">
/* residentAndDisabled-mapper|updateDateByMsuYear|jhseo */ /* residentAndDisabled-mapper|updateDateByMsuYear|jhseo */
UPDATE min_simsa680_sc UPDATE min_simsa680_sc
SET MS_SDATE = #{msSdate} SET ms_sdate = #{msSdate}
, MS_EDATE = #{msEdate} , ms_startsi = #{msStartsi}
, MS_CDATE = #{msCdate} , ms_edate = #{msEdate}
, MS_CLOSESI = #{msClosesi} , ms_cdate = #{msCdate}
WHERE MS_YEAR = #{msYear} , ms_closesi = #{msClosesi}
AND MS_CHASU = #{msChasu} WHERE ms_year = #{msYear}
AND MS_DATAGB = #{msDatagb} AND ms_chasu = #{msChasu}
AND ms_datagb = #{msDatagb}
</native-query> </native-query>
</entity-mappings> </entity-mappings>
Loading…
Cancel
Save