|
|
|
|
@ -40,6 +40,7 @@ import cfs.common.vo.ParamBean;
|
|
|
|
|
import cfs.input.service.WorkerFareAdjustService;
|
|
|
|
|
import cfs.input.vo.WorkerFareAdjustVO;
|
|
|
|
|
import cfs.trsmrcv.vo.CommSmartPlatformPRPVO;
|
|
|
|
|
import cfs.trsmrcv.dao.CommCollectServerDao;
|
|
|
|
|
import cfs.trsmrcv.dao.CommSmartPlatformPRPDao;
|
|
|
|
|
import cfs.trsmrcv.dao.TrsmrcvDao;
|
|
|
|
|
import cfs.trsmrcv.service.CommCollectServerService;
|
|
|
|
|
@ -80,6 +81,9 @@ public class CommSmartPlatformPRPController {
|
|
|
|
|
@Resource(name="trsmrcvDao")
|
|
|
|
|
private TrsmrcvDao trsmrcvDao;
|
|
|
|
|
|
|
|
|
|
@Resource(name="commCollectServerDao")
|
|
|
|
|
private CommCollectServerDao commCollectServerDao;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 사전등록결제요청 수신(호출소스 불명)
|
|
|
|
|
* <pre></pre>
|
|
|
|
|
@ -899,8 +903,25 @@ public class CommSmartPlatformPRPController {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//ITF_CFS_O_002끝
|
|
|
|
|
|
|
|
|
|
if(map == null || map.get("result").toString().equals("FAIL") == true) {
|
|
|
|
|
|
|
|
|
|
if(map.get("resultCode").toString().equals("ES0009")){
|
|
|
|
|
//변동분 등록(미사용 회원)
|
|
|
|
|
Map<String, Object> mapFail = new HashMap<String, Object>();
|
|
|
|
|
mapFail.put("CAR_NO", pMap.get("CAR_NO").toString());
|
|
|
|
|
mapFail.put("CAR_OWNER_CI", pMap.get("CAR_OWNER_CI").toString());
|
|
|
|
|
mapFail.put("OWNER_NM", "delete");
|
|
|
|
|
SimpleDateFormat sdf14 = (new SimpleDateFormat("yyyyMMddHHmmss"));
|
|
|
|
|
Date now = new Date();
|
|
|
|
|
String reqDate = sdf14.format(now);
|
|
|
|
|
mapFail.put("REQ_DATE", reqDate);
|
|
|
|
|
mapFail.put("CAR_NO_HEX", CarNo2Code.runCarNo2Code(pMap.get("CAR_NO").toString()));
|
|
|
|
|
mapFail.put("MODI_YN", "N");
|
|
|
|
|
mapFail.put("SECSN_YN", "Y");
|
|
|
|
|
mapFail.put("WORKER", "admin");
|
|
|
|
|
commCollectServerDao.insertPreRegistInfoModi(mapFail);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, Object> mapFail = new HashMap<String, Object>();
|
|
|
|
|
// 조회 실패
|
|
|
|
|
//수동청구 실패
|
|
|
|
|
@ -1209,6 +1230,27 @@ public class CommSmartPlatformPRPController {
|
|
|
|
|
trDttm = delngDate + delngTime;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} else if(wsResultMap != null
|
|
|
|
|
&& wsResultMap.get("result") != null
|
|
|
|
|
&& wsResultMap.get("result").toString().equals("FAIL")
|
|
|
|
|
&& wsResultMap.get("resultCode") != null
|
|
|
|
|
&& wsResultMap.get("resultCode").toString().equals("ES0009")){
|
|
|
|
|
|
|
|
|
|
//변동분 등록(미사용 회원)
|
|
|
|
|
Map<String, Object> mapFail = new HashMap<String, Object>();
|
|
|
|
|
mapFail.put("CAR_NO", carNo);
|
|
|
|
|
mapFail.put("CAR_OWNER_CI", carOwnerCi);
|
|
|
|
|
mapFail.put("OWNER_NM", "delete");
|
|
|
|
|
SimpleDateFormat sdf14 = (new SimpleDateFormat("yyyyMMddHHmmss"));
|
|
|
|
|
Date now = new Date();
|
|
|
|
|
String reqDate = sdf14.format(now);
|
|
|
|
|
mapFail.put("REQ_DATE", reqDate);
|
|
|
|
|
mapFail.put("CAR_NO_HEX", CarNo2Code.runCarNo2Code(carNo));
|
|
|
|
|
mapFail.put("MODI_YN", "N");
|
|
|
|
|
mapFail.put("SECSN_YN", "Y");
|
|
|
|
|
mapFail.put("WORKER", "admin");
|
|
|
|
|
commCollectServerDao.insertPreRegistInfoModi(mapFail);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tbReqMap.put("PRP_REQ_SEQ", newPrpReqSeq);
|
|
|
|
|
|