From c792c1a4e6ee2658b329b644b3d4d66d480fb26c Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Mon, 4 Sep 2023 10:48:00 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EC=9D=98=20=EC=A1=B0=ED=9A=8C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95:=20=EC=B0=A8=EB=9F=89=EB=B2=88=ED=98=B8?= =?UTF-8?q?=EA=B0=80=209=EB=A1=9C=20=EB=81=9D=EB=82=98=EB=A9=B4=20"Y"=20?= =?UTF-8?q?=EB=B0=98=ED=99=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../disabledparking/service/bean/DisabledParkingBean.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/cokr/xit/interfaces/disabledparking/service/bean/DisabledParkingBean.java b/src/main/java/cokr/xit/interfaces/disabledparking/service/bean/DisabledParkingBean.java index 8cbf6d4..634a8b8 100644 --- a/src/main/java/cokr/xit/interfaces/disabledparking/service/bean/DisabledParkingBean.java +++ b/src/main/java/cokr/xit/interfaces/disabledparking/service/bean/DisabledParkingBean.java @@ -85,9 +85,10 @@ public class DisabledParkingBean extends AbstractComponent { } private DataObject getLocalParkingInfo(String vehicleNo) { + String parkingYn = vehicleNo.endsWith("9") ? "Y" : "N"; return new DataObject() .set("CARS_NO", vehicleNo) - .set("PARKING_PSBL_YN", "N") + .set("PARKING_PSBL_YN", parkingYn) .set("BOHUN_PARKING_PSBL_YN", "N"); }