미사용 url 제거

main
이범준 6 months ago
parent 97d19e8c9b
commit 8e49609ae8

@ -69,94 +69,8 @@ public class CommHoCController {
return ContextLoader.getCurrentWebApplicationContext();
}
/**
*
* <pre></pre>
*/
@RequestMapping(value="/cfs/trsmrcv/selectPreRegistCarInfoMstCount.do", method=RequestMethod.POST)
public @ResponseBody Map<String, Object> selectPreRegistCarInfoMstCount(
@RequestParam String start_dt
, @RequestParam String end_dt
, HttpServletRequest request) throws Exception {
ResultSmartPlatform result = new ResultSmartPlatform();
Map<String, Object> mapOrg = new HashMap<String, Object>();
mapOrg.put("start_dt", start_dt);
mapOrg.put("end_dt", end_dt);
List<Map<String, Object>> obj = null;
try {
Map<String, Object> map = new HashMap<String, Object>();
obj = commCollectServerService.selectPreRegistCarInfoMstCount(mapOrg);
map.put("totalCount", obj.get(1).get("CNT").toString());
result.setData(ResultSmartPlatform.RESULT_KEY_DEFAULT, map);
result.setMsg(ResultSmartPlatform.STATUS_SUCESS, "정상적으로 처리되었습니다.");
}catch(RuntimeException e) {
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
} catch (Exception e) {
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
}
logger.info(result.getResult().get("resultMessage").toString());
return result.getResult();
}
// 사전등록결제정보 마스터 조회
@RequestMapping(value="/cfs/trsmrcv/selectPreRegistCarInfoMst.do", method=RequestMethod.POST)
public @ResponseBody Map<String, Object> selectPreRegistCarInfoMst(
@RequestParam String index_start
, @RequestParam String index_end
, HttpServletRequest request) throws Exception {
ResultSmartPlatform result = new ResultSmartPlatform();
Map<String, Object> mapOrg = new HashMap<String, Object>();
mapOrg.put("index_start", index_start);
mapOrg.put("index_end", index_end);
List<Map<String, Object>> obj = null;
try {
obj = commCollectServer2Service.selectPreRegistCarInfoMst(mapOrg);
if(obj == null || obj.size() == 0) {
result.setMsg(ResultSmartPlatform.STATUS_SUCESS, "정상적으로 처리되었습니다.");
result.setMsg(ResultSmartPlatform.RESULT_KEY_DEFAULT, "조회결과가 없습니다.");
return result.getResult();
}
String str = "";
StringBuffer strbuf = new StringBuffer();
for(int i = 0; i < obj.size(); i++) {
obj.get(i).put("WORKER", "admin");
str = String.format("%010d%s%s%s", Integer.parseInt(obj.get(i).get("PRP_INFO_SEQ").toString())
, obj.get(i).get("MODI_YN").toString()
, obj.get(i).get("EXMP_CD").toString()
, obj.get(i).get("CAR_NO_HEX").toString().trim());
strbuf.append(str);
}
result.setMsg(ResultSmartPlatform.STATUS_SUCESS, "정상적으로 처리되었습니다.");
result.setMsg(ResultSmartPlatform.RESULT_KEY_DEFAULT, strbuf.toString());
}catch(RuntimeException e) {
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
} catch (Exception e) {
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
}
logger.info(result.getResult().get("resultMessage").toString());
return result.getResult();
}
// 면제 / 감면 마스터 flag 조회
// 각 마스터 flag 조회
@RequestMapping(value="/cfs/trsmrcv/selectMstFlag.do", method=RequestMethod.POST)
public @ResponseBody Map<String, Object> selectMstFlag(
@RequestParam String workDt

Loading…
Cancel
Save