|
|
|
|
@ -18,6 +18,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
|
|
|
|
|
|
|
import cokr.xit.base.file.service.FileQuery;
|
|
|
|
|
import cokr.xit.base.file.service.bean.FileBean;
|
|
|
|
|
import cokr.xit.fims.FimsConf;
|
|
|
|
|
import cokr.xit.fims.cmmn.CmmnUtil;
|
|
|
|
|
import cokr.xit.fims.cmmn.CrdnSttsHstry;
|
|
|
|
|
import cokr.xit.fims.cmmn.dao.CrdnSttsHstryMapper;
|
|
|
|
|
@ -454,6 +455,16 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String executeDisabledTagInfoInquire(String... crdnIds) {
|
|
|
|
|
|
|
|
|
|
String disabledParkingDemonYn = FimsConf.get().getDisabledParkingDemonYn();
|
|
|
|
|
String disabledParkingDemonUrl = FimsConf.get().getDisabledParkingDemonUrl();
|
|
|
|
|
if(isEmpty(disabledParkingDemonYn)) {
|
|
|
|
|
disabledParkingDemonYn = "N";
|
|
|
|
|
}
|
|
|
|
|
if(isEmpty(disabledParkingDemonUrl)) {
|
|
|
|
|
disabledParkingDemonUrl = "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int i=0;
|
|
|
|
|
|
|
|
|
|
HashMap<String, Boolean> vehicleResultMap = new HashMap<String, Boolean>();
|
|
|
|
|
@ -468,15 +479,15 @@ public class CrdnCvlcptServiceBean extends AbstractServiceBean implements CrdnCv
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(!vehicleResultMap.containsKey(vhrno)) {
|
|
|
|
|
DataObject inquireResult;
|
|
|
|
|
|
|
|
|
|
if(1 != 1) { //TODO:별도서비스여부
|
|
|
|
|
DataObject inquireResult = new DataObject();
|
|
|
|
|
|
|
|
|
|
String LINK_SRVC_PROTOCOL_IP_PORT = "http://127.0.0.1:9078";
|
|
|
|
|
// 연계서비스 별도 프로세스 여부
|
|
|
|
|
if(disabledParkingDemonYn.equals("Y")) {
|
|
|
|
|
String sUrl = disabledParkingDemonUrl + "/intf/disabledParking/parkingInfo";
|
|
|
|
|
|
|
|
|
|
HttpResponse<String> apiRslt = new WebClient().post(request -> {
|
|
|
|
|
request.contentType(WebClient.Request.ContentType.JSON);
|
|
|
|
|
request.uri(LINK_SRVC_PROTOCOL_IP_PORT+"/intf/disabledParking/parkingInfo");
|
|
|
|
|
request.uri(sUrl);
|
|
|
|
|
request.data("vehicleNo", crdnInfo.string("VHRNO"));
|
|
|
|
|
});
|
|
|
|
|
String rslt = apiRslt.body();
|
|
|
|
|
|