|
|
|
|
@ -41,6 +41,7 @@ import cfs.common.util.HttpUtil;
|
|
|
|
|
import cfs.common.util.Result;
|
|
|
|
|
import cfs.common.util.ResultSmartPlatform;
|
|
|
|
|
import cfs.trsmrcv.dao.TrsmrcvDao;
|
|
|
|
|
import cfs.trsmrcv.service.CommCollectServerService;
|
|
|
|
|
import cfs.trsmrcv.service.CommSmartPlatformFISService;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
@ -66,7 +67,10 @@ public class CommSmartPlatformFISController {
|
|
|
|
|
|
|
|
|
|
@Resource(name="cfsCommonService")
|
|
|
|
|
private CfsCommonService cfsCommonService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="commCollectServerService")
|
|
|
|
|
private CommCollectServerService commCollectServerService;
|
|
|
|
|
|
|
|
|
|
@Resource(name="finePenaltyDao")
|
|
|
|
|
private FinePenaltyDao finePenaltyDao;
|
|
|
|
|
|
|
|
|
|
@ -771,5 +775,42 @@ public class CommSmartPlatformFISController {
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* eTax 실시간수납조회 요청 수신
|
|
|
|
|
* <pre></pre>
|
|
|
|
|
*/
|
|
|
|
|
@SuppressWarnings("unchecked")
|
|
|
|
|
@RequestMapping(value="/rest/broker/cfs/recvEtaxPaymentState", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> recvEtaxPaymentState(@RequestBody Map<String, Object> paramList, HttpServletRequest request) throws Exception {
|
|
|
|
|
|
|
|
|
|
Map<String,String> susinInfo = TrsmrcvUtil.getInfoMapForConnSusinLog(request);
|
|
|
|
|
trsmrcvDao.insertConnSusinLog(susinInfo);
|
|
|
|
|
|
|
|
|
|
ResultSmartPlatform result = new ResultSmartPlatform();
|
|
|
|
|
|
|
|
|
|
List<Map<String, String>> list = (List<Map<String, String>>)paramList.get("data");
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
List<Map<String, Object>> obj = null;
|
|
|
|
|
Map<String, String> param = null;
|
|
|
|
|
for(int index = 0; index < list.size(); index++) {
|
|
|
|
|
param = list.get(index);
|
|
|
|
|
|
|
|
|
|
// eTax뱅킹 수납상태 조회
|
|
|
|
|
obj = commCollectServerService.selectEtaxDetail(param);
|
|
|
|
|
}
|
|
|
|
|
result.setData(ResultSmartPlatform.RESULT_KEY_DEFAULT, obj);
|
|
|
|
|
result.setMsg(ResultSmartPlatform.STATUS_SUCESS, "정상적으로 처리되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
logger.info(result.getResult().get("resultMessage").toString());
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|