diff --git a/src/main/java/com/xit/biz/ctgy/v2/repository/ParkingDao.java b/src/main/java/com/xit/biz/ctgy/v2/repository/ParkingDao.java index a7db2eb..4518a60 100644 --- a/src/main/java/com/xit/biz/ctgy/v2/repository/ParkingDao.java +++ b/src/main/java/com/xit/biz/ctgy/v2/repository/ParkingDao.java @@ -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()) diff --git a/src/main/java/com/xit/biz/ctgy/v2/repository/ResidentAndDisabledDao.java b/src/main/java/com/xit/biz/ctgy/v2/repository/ResidentAndDisabledDao.java index 45e889a..e00a1a3 100644 --- a/src/main/java/com/xit/biz/ctgy/v2/repository/ResidentAndDisabledDao.java +++ b/src/main/java/com/xit/biz/ctgy/v2/repository/ResidentAndDisabledDao.java @@ -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()) diff --git a/src/main/resources/sql/parking-mapper.xml b/src/main/resources/sql/parking-mapper.xml index 6ea44f4..ed1be3a 100644 --- a/src/main/resources/sql/parking-mapper.xml +++ b/src/main/resources/sql/parking-mapper.xml @@ -398,12 +398,13 @@ /* 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} @@ -412,11 +413,11 @@ INTO min_simsa680_log ( ms_maincode, ms_seq, - massage + message ) VALUES ( #{msMaincode}, #{msSeq}, - #{massage} + #{message} ) diff --git a/src/main/resources/sql/residentAndDisabled-mapper.xml b/src/main/resources/sql/residentAndDisabled-mapper.xml index 7aa8ad6..a799ded 100644 --- a/src/main/resources/sql/residentAndDisabled-mapper.xml +++ b/src/main/resources/sql/residentAndDisabled-mapper.xml @@ -654,13 +654,14 @@ /* 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} \ No newline at end of file