From a287392d80eb901aab9c7246aa3953224ebf3d1b Mon Sep 17 00:00:00 2001 From: minuk926 Date: Wed, 13 Jul 2022 14:19:26 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A3=BC=EC=A0=95=EC=B0=A8=20=EC=8B=AC?= =?UTF-8?q?=EC=82=AC=20=EB=B0=98=EC=98=81=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/parking-mapper.xml | 2 ++ src/main/resources/sql/residentAndDisabled-mapper.xml | 1 + 2 files changed, 3 insertions(+) diff --git a/src/main/resources/sql/parking-mapper.xml b/src/main/resources/sql/parking-mapper.xml index 47a9f0c..08730e6 100644 --- a/src/main/resources/sql/parking-mapper.xml +++ b/src/main/resources/sql/parking-mapper.xml @@ -375,6 +375,7 @@ , min_simsa_user680 MSU , tf680_recall TR WHERE MS.ms_maincode = MSU.msu_maincode + AND DECODE(MS.ms_result, '1', '1', '2', '2', '0') = '0' AND MS.ms_maincode = TR.rc_code AND MSU.msu_userid = #{msuUserid} ORDER BY MS.ms_sdate, MS.ms_edate, MS.ms_seq @@ -387,6 +388,7 @@ , msu_result = #{msuResult} , msu_indate = #{msuIndate} WHERE msu_code = #{msuCode} + AND msu_userid = #{msuUserid} \ No newline at end of file diff --git a/src/main/resources/sql/residentAndDisabled-mapper.xml b/src/main/resources/sql/residentAndDisabled-mapper.xml index f2273be..f237ed5 100644 --- a/src/main/resources/sql/residentAndDisabled-mapper.xml +++ b/src/main/resources/sql/residentAndDisabled-mapper.xml @@ -617,6 +617,7 @@ , min_simsa_user680_sc MSU WHERE MS.ms_maincode = MSU.msu_maincode AND MSU.msu_userid = #{msuUserid} + AND DECODE(MS.ms_result, '1', '1', '2', '2', '0') = '0' AND MS.ms_datagb = #{msDatagb}