미사용소스 제거(사전등록결제 수정)

main
이범준 5 months ago
parent 88aacaa97c
commit 524b32d9e3

@ -35,7 +35,7 @@ public interface CommSmartPlatformPRPDao {
// 사전등록납부처리시...
public List<Map<String, Object>> callSP_UPDATE_READING(Map<String, Object> param);
public List<Map<String, Object>> callSP_UPDATE_READING_PEN(Map<String, Object> param);
public int updateAdjsut(Map<String, Object> param);
public int updateRepayTerminal(Map<String, Object> param);
public int insertFareTerminalHistory(Map<String, Object> param);
public List<Map<String, Object>> callSP_PRP_REPAIR(Map<String, Object> param);

@ -32,7 +32,7 @@ public interface CommSmartPlatformPRPService {
public List<Map<String, Object>> selectPreRegistCar(Map<String, Object> param) throws Exception;
public List<Map<String, Object>> callSP_PRP_REPAIR(Map<String, Object> param) throws Exception;
public int updateAdjsut(Map<String, Object> param) throws Exception;
public int updateRepayTerminal(Map<String, Object> param) throws Exception;
public int insertFareTerminalHistory(Map<String, Object> param) throws Exception;

@ -333,10 +333,7 @@ public class CommSmartPlatformPRPServiceImpl implements CommSmartPlatformPRPServ
public List<Map<String, Object>> selectPreRegistCar(Map<String, Object> param)throws Exception {
return commSmartPlatformPRPDao.selectPreRegistCar(param);
}
@Override
public int updateAdjsut(Map<String, Object> param) throws Exception {
return commSmartPlatformPRPDao.updateAdjsut(param);
}
@Override
public int updateRepayTerminal(Map<String, Object> param) throws Exception {

@ -414,65 +414,14 @@ public class CommSmartPlatformPRPController {
}
/**
*
* <pre></pre>
*/
@RequestMapping(value = "/rest/broker/cfs/callPreRegistPaymentUpdate", method = RequestMethod.POST)
public @ResponseBody Map<String, Object> callPreRegistPaymentUpdate(@RequestBody ParamBean<CommSmartPlatformPRPVO> param, HttpServletRequest request) throws Exception {
Map<String,String> susinInfo = TrsmrcvUtil.getInfoMapForConnSusinLog(request);
trsmrcvDao.insertConnSusinLog(susinInfo);
CommSmartPlatformPRPVO commSmartPlatformPRPVO = param.getParam();
Map<String, Object> pMap = new HashMap<String, Object>();
ResultSmartPlatform result = new ResultSmartPlatform();
try {
pMap.put("WORKER_ID", commSmartPlatformPRPVO.getWorkerId());
pMap.put("FARE_OFFICE_ID", commSmartPlatformPRPVO.getFareOfficeId());
pMap.put("BOOTH_ID", commSmartPlatformPRPVO.getBoothId());
pMap.put("YEAR", commSmartPlatformPRPVO.getYear());
pMap.put("MONTH", commSmartPlatformPRPVO.getMonth());
pMap.put("DAY", commSmartPlatformPRPVO.getDay());
pMap.put("WORK_TIMES", commSmartPlatformPRPVO.getWorkTimes());
pMap.put("SEQNO", commSmartPlatformPRPVO.getSeqno());
pMap.put("COLLECTIDNEW", commSmartPlatformPRPVO.getCollectIdNew());
//임시 명칭
pMap.put("in_work_id", commSmartPlatformPRPVO.getWorkerId());
pMap.put("in_fare", commSmartPlatformPRPVO.getFareOfficeId());
pMap.put("in_booth", commSmartPlatformPRPVO.getBoothId());
pMap.put("in_year", commSmartPlatformPRPVO.getYear());
pMap.put("in_month", commSmartPlatformPRPVO.getMonth());
pMap.put("in_day", commSmartPlatformPRPVO.getDay());
pMap.put("in_work_times", commSmartPlatformPRPVO.getWorkTimes());
pMap.put("in_seqno", commSmartPlatformPRPVO.getSeqno());
pMap.put("in_reject_id", "03");
pMap.put("in_rcvmsg", "사전등록결제 수정 수신");
commSmartPlatformPRPService.callSP_UPDATE_READING(pMap);
commSmartPlatformPRPService.updateAdjsut(pMap);
result.setMsg(ResultSmartPlatform.STATUS_SUCESS, "정상적으로 처리되었습니다.");
}catch(RuntimeException e) {
result.setErrorMsg(ResultSmartPlatform.STATUS_ERROR_DEFAULT_DETAIL_CODE, null);
} catch (Exception e) {
result.setErrorMsg(ResultSmartPlatform.STATUS_ERROR_DEFAULT_DETAIL_CODE, null);
}
return result.getResult();
}
/**
*
* <pre></pre>
*/
//ITF_BRC_O_014?ITF_CFS_I_034?
@RequestMapping(value = "/rest/broker/cfs/recvDefaultThrough", method = RequestMethod.POST)
public @ResponseBody Map<String, Object> recvDefaultThrough(
@RequestParam String insttNo

Loading…
Cancel
Save