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 2dcf18e..c8d0e50 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 @@ -107,15 +107,6 @@ public class ParkingDao extends BaseMpowerDaoSupport { } public void updateMsResult(@NotNull final Long msMaincode, @NotNull final String msSeq, @NotNull final String msResult) { - - final String sql = QueryGenerator.createNamedQuery(NAME_SPACE, "updateJudegResult") - .setParameter("msMaincode", msMaincode) - .setParameter("msSeq", msSeq) - .setParameter("msResult", msResult) - .getQueryString(); - - update(sql); - final String mainCodeSql = QueryGenerator.createNamedQuery(NAME_SPACE, "selectRcMaincode") .setParameter("msMaincode", msMaincode) .getQueryString(); @@ -124,7 +115,20 @@ public class ParkingDao extends BaseMpowerDaoSupport { final List outParams = Arrays.asList("result", "message"); final String spSql = "SIMSA_EDIT_RESULT(?,?,?,?,?,?,?)"; Map rslt = executeSp(spSql, inParams, outParams); - if(!"1".equals(rslt.get("result"))) throw new CustomBaseException(String.valueOf(rslt.get("message"))); + if(!"1".equals(rslt.get("result"))){ + log.error("{}", rslt); + throw new CustomBaseException(String.valueOf(rslt.get("message"))); + } + +/* + final String sql = QueryGenerator.createNamedQuery(NAME_SPACE, "updateJudegResult") + .setParameter("msMaincode", msMaincode) + .setParameter("msSeq", msSeq) + .setParameter("msResult", msResult) + .getQueryString(); + + update(sql); +*/ } public List findParkingJudgeTargets(@NotNull final ParkingTargetDto dto) { diff --git a/src/main/resources/sql/parking-mapper.xml b/src/main/resources/sql/parking-mapper.xml index 993ad0f..71c6e9f 100644 --- a/src/main/resources/sql/parking-mapper.xml +++ b/src/main/resources/sql/parking-mapper.xml @@ -322,10 +322,6 @@ ORDER BY TR.rc_seq - - - - /* parking-mapper|selectDashboardJudgeList|julim */ SELECT MS.ms_edate