|
|
|
|
@ -55,7 +55,7 @@ public class FinePmController {
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
|
|
|
|
|
download(param, request, response, null, "템플릿");
|
|
|
|
|
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
}catch (Exception ex) {
|
|
|
|
|
@ -64,35 +64,7 @@ public class FinePmController {
|
|
|
|
|
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 요금소별 부과고지미납 감면대상 건수,금액 조회
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [FN53] 조회
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
public void download(@RequestBody ParamBean<FinePmVO> param,HttpServletRequest request, HttpServletResponse response, Map<String , Object> beans, String filename) throws InvalidFormatException {
|
|
|
|
|
FinePmVO finePmVO = param.getParam();
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
List<FinePmVO> list= FinePmService.findFinePmList(finePmVO);
|
|
|
|
|
|
|
|
|
|
/*String tempPath = request.getSession().getServletContext().getRealPath("/resources/excel/template");
|
|
|
|
|
InputStream is = new BufferedInputStream(new FileInputStream("C:\\dev\\workspace\\test.jxls\\object_collection_template.xlsx"));
|
|
|
|
|
OutputStream os = new FileOutputStream("C:\\dev\\workspace\\test.jxls\\test_output.xlsx");
|
|
|
|
|
Context context = new Context();
|
|
|
|
|
context.putVar("employees", list);
|
|
|
|
|
JxlsHelper.getInstance().processTemplate(is, os, context);*/
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
}catch (Exception ex) {
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 비부과 대상차량 현황,비부과 대상차량 현황Cnt, 비부과 대상차량 내용 현황
|
|
|
|
|
* @author cfs02
|
|
|
|
|
@ -716,89 +688,11 @@ public class FinePmController {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 과태료 납부 비교
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [FN69] 조회
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/fine/findFinePenCompare.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findFinePenCompare(@RequestBody ParamBean<FinePmVO> param, HttpServletRequest request) {
|
|
|
|
|
FinePmVO finePmVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<FinePmVO> statList = null;
|
|
|
|
|
try {
|
|
|
|
|
statList = FinePmService.findFinePenCompare(finePmVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
}catch (Exception ex) {
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 가산금 부과별 납부현황
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [FN70] 조회
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/fine/findAddiCon.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findAddiCon(@RequestBody ParamBean<FinePmVO> param, HttpServletRequest request) {
|
|
|
|
|
FinePmVO finePmVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<FinePmVO> statList = null;
|
|
|
|
|
try {
|
|
|
|
|
statList = FinePmService.findAddiCon(finePmVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
}catch (Exception ex) {
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 가산금 부과별 납부현황
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [FN71] 조회
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/fine/findNonpayCompl.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findNonpayCompl(@RequestBody ParamBean<FinePmVO> param, HttpServletRequest request) {
|
|
|
|
|
FinePmVO finePmVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<FinePmVO> statList = null;
|
|
|
|
|
try {
|
|
|
|
|
statList = FinePmService.findNonpayCompl(finePmVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
}catch (Exception ex) {
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|