모의 조회 수정: 차량번호가 9로 끝나면 "Y" 반환

master
mjkhan21 1 year ago
parent a467234970
commit c792c1a4e6

@ -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");
}

Loading…
Cancel
Save