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")
.setParameter("msMaincode", msMaincode)
.setParameter("msSeq", msSeq)
.setParameter("message", (String) rslt.get("message"))
.setParameter("message", String.valueOf(rslt.get("message")))
.getQueryString();
update(sql);
}
@ -264,6 +264,7 @@ public class ParkingDao extends BaseMpowerDaoSupport {
.setParameter("msYear", dto.getMsYear())
.setParameter("msChasu", dto.getMsChasu())
.setParameter("msSdate", dto.getMsSdate())
.setParameter("msStartsi", dto.getMsStartsi())
.setParameter("msEdate", dto.getMsEdate())
.setParameter("msCdate", dto.getMsCdate())
.setParameter("msClosesi", dto.getMsClosesi())

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

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

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