From c32119dddffaccdcaca0b65590dd9ac9447e4cdd Mon Sep 17 00:00:00 2001 From: minuk926 Date: Mon, 18 Jul 2022 18:21:15 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B0=95=EB=82=A8=EC=8B=AC=EC=82=AC=20?= =?UTF-8?q?=EC=A3=BC=EC=A0=95=EC=B0=A8(admin)=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../biz/ctgy/v2/repository/ParkingDao.java | 24 +++++++++++-------- src/main/resources/sql/parking-mapper.xml | 4 ---- 2 files changed, 14 insertions(+), 14 deletions(-) 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