|
|
|
|
@ -370,23 +370,24 @@ public class StandardCodeInfoController {
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 면제차량 정보
|
|
|
|
|
* 가맹점 정보 등록 조회
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD07] 조회
|
|
|
|
|
* @task [SD11] 조회
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardExempt.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardExempt(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardFranchisee.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardFranchisee(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<StandardCodeInfoVO> statList = null;
|
|
|
|
|
try {
|
|
|
|
|
statList = StandardCodeInfoService.findStandardExempt(standardCodeInfoVO);
|
|
|
|
|
statList = StandardCodeInfoService.findStandardFranchisee(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
@ -398,47 +399,26 @@ public class StandardCodeInfoController {
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 면제차량 정보 업로드
|
|
|
|
|
* 카드 발행사
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD07] 조회
|
|
|
|
|
* @task [SD11] popup조회
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/insertExemptCars.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> insertExemptCars(@RequestBody ParamBean<List<StandardCodeInfoVO>> param, HttpServletRequest request) {
|
|
|
|
|
List<StandardCodeInfoVO> standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
int insResult = 0;
|
|
|
|
|
try {
|
|
|
|
|
insResult = StandardCodeInfoService.insertExemptCars(standardCodeInfoVO);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.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);
|
|
|
|
|
}
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value="/cfs/standard/insertLocalResidentsCars.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> insertLocalResidentsCars(@RequestBody List<LocalResidentsExcelUpVO> localResidentsExcelUpVOs, HttpServletRequest request) {
|
|
|
|
|
//List<LocalResidentsExcelUpVO> localResidentsExcelUpVOs = param.getParam();
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardCardAgency.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardCardAgency(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
int insResult = 0;
|
|
|
|
|
List<StandardCodeInfoVO> statList = null;
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
|
|
for(LocalResidentsExcelUpVO vo: localResidentsExcelUpVOs){
|
|
|
|
|
insResult += StandardCodeInfoService.insertLocalResidentsCars(vo);
|
|
|
|
|
}
|
|
|
|
|
statList = StandardCodeInfoService.findStandardCardAgency(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "저장이 완료되었습니다.");
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
@ -449,22 +429,23 @@ public class StandardCodeInfoController {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 면제차량 정보
|
|
|
|
|
* 카드 발행사
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD07] 조회 - 면제차량 1건 조회
|
|
|
|
|
* @task [SD11] popup수정
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardExemptCarNo.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardExemptCarNo(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/updateStandardCardAgency.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> updateStandardCardAgency(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
Map <String,String> statMap = null;
|
|
|
|
|
try {
|
|
|
|
|
statMap = StandardCodeInfoService.findStandardExemptCarNo(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statMap);
|
|
|
|
|
HttpSession session = request.getSession();
|
|
|
|
|
standardCodeInfoVO.setSessionUserNm((String) session.getAttribute("EMP_NM"));
|
|
|
|
|
StandardCodeInfoService.updateStandardCardAgency(standardCodeInfoVO);
|
|
|
|
|
StandardCodeInfoService.insertStandardCardAgency(standardCodeInfoVO);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
@ -474,25 +455,25 @@ public class StandardCodeInfoController {
|
|
|
|
|
}
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 면제차량 정보
|
|
|
|
|
* 카드 발행사
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD07] 조회 - 면제차량번호의 차종코드 조회
|
|
|
|
|
* @task [SD11] popup추가
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardExemptCarTypeId.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardExemptCarTypeId(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/insertStandardCardAgencyAdd.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> insertStandardCardAgencyAdd(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
Map <String,String> statMap = null;
|
|
|
|
|
try {
|
|
|
|
|
statMap = StandardCodeInfoService.findStandardExemptCarTypeId(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statMap);
|
|
|
|
|
HttpSession session = request.getSession();
|
|
|
|
|
standardCodeInfoVO.setSessionUserNm((String) session.getAttribute("EMP_NM"));
|
|
|
|
|
StandardCodeInfoService.insertStandardCardAgencyAdd(standardCodeInfoVO);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
@ -502,29 +483,26 @@ public class StandardCodeInfoController {
|
|
|
|
|
}
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 면제차량 정보 등록/수정
|
|
|
|
|
* 카드 발행사
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD007] 저장
|
|
|
|
|
* @task [SD11] popup조회
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/updateStandardExemptCarNo.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> updateStandardExemptCarNo(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardCardOverlap.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardCardOverlap(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
//System.out.println("################# : 면제차량정보등록 - " + "AAAAAAAAAA" );
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
Map <String,String> statMap = null;
|
|
|
|
|
List<StandardCodeInfoVO> statList = null;
|
|
|
|
|
try {
|
|
|
|
|
HttpSession session = request.getSession();
|
|
|
|
|
standardCodeInfoVO.setSessionUserNm((String) session.getAttribute("EMP_NM"));
|
|
|
|
|
statMap = StandardCodeInfoService.updateStandardExemptCarNo(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statMap);
|
|
|
|
|
statList = StandardCodeInfoService.findStandardCardOverlap(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
@ -534,24 +512,25 @@ public class StandardCodeInfoController {
|
|
|
|
|
}
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 면제차량 정보
|
|
|
|
|
* 면제차량목록 조회
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD07] 일괄등록(엑셀) - 엑셀 내용 읽어 드리기
|
|
|
|
|
* @task [SD007M01] 면제차량 관리
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findCsvFile.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findCsvFile(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardExemptCarList.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardExemptCarList(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<Map<String,Object>> statList = null;
|
|
|
|
|
List<StandardCodeInfoVO> statList = null;
|
|
|
|
|
try {
|
|
|
|
|
statList = StandardCodeInfoService.insertCsvFile(standardCodeInfoVO);
|
|
|
|
|
statList = StandardCodeInfoService.findStandardExemptCarList(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
@ -563,55 +542,25 @@ public class StandardCodeInfoController {
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 면제차량 정보
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD07] 일괄등록(엑셀) - 면제차량등록 - 저장
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/insertStandardExemptCarNo.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> insertStandardExemptCarNo(@RequestBody ParamBean param, HttpServletRequest request) {
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
|
|
|
|
|
//System.out.println("################# : 일괄등록(엑셀) - 면제차량등록 - 저장 ");
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
StandardCodeInfoService.insertStandardExemptCarNo(param);
|
|
|
|
|
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 jisung
|
|
|
|
|
* @task [SD16] 조회 - 감면차량 목록 조회
|
|
|
|
|
* 면제차량 1건 조회
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD007M01] 면제차량 관리
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardScar.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardScar(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardExemptCarDetail.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardExemptCarDetail(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<StandardCodeInfoVO> statList = null;
|
|
|
|
|
Map <String,String> statMap = null;
|
|
|
|
|
try {
|
|
|
|
|
statList = StandardCodeInfoService.findStandardScar(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
statMap = StandardCodeInfoService.findStandardExemptCarDetail(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statMap);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
@ -624,21 +573,21 @@ public class StandardCodeInfoController {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 감면차량등록관리
|
|
|
|
|
* @author jisung
|
|
|
|
|
* @task [SD16] 조회 - 감면차량 1건 조회
|
|
|
|
|
* 면제차량번호의 차종코드 조회
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD007M01] 면제차량 관리
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardScarCarNo.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardScarCarNo(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardExemptCarTypeId.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardExemptCarTypeId(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
Map <String,String> statMap = null;
|
|
|
|
|
try {
|
|
|
|
|
statMap = StandardCodeInfoService.findStandardScarCarNo(standardCodeInfoVO);
|
|
|
|
|
statMap = StandardCodeInfoService.findStandardExemptCarTypeId(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statMap);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
@ -650,27 +599,25 @@ public class StandardCodeInfoController {
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 감면차량등록관리
|
|
|
|
|
* @author jisung
|
|
|
|
|
* @task [SD16] 저장
|
|
|
|
|
* 면제차량 정보 등록/수정
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD007M01] 면제차량 관리
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/updateStandardScarCarNo.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> updateStandardScarCarNo(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/saveStandardExemptCarInfo.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> saveStandardExemptCarInfo(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
Map <String,String> statMap = null;
|
|
|
|
|
try {
|
|
|
|
|
HttpSession session = request.getSession();
|
|
|
|
|
standardCodeInfoVO.setSessionUserNm((String) session.getAttribute("EMP_NM"));
|
|
|
|
|
statMap = StandardCodeInfoService.updateStandardScarCarNo(standardCodeInfoVO);
|
|
|
|
|
statMap = StandardCodeInfoService.saveStandardExemptCarInfo(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statMap);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
@ -681,26 +628,25 @@ public class StandardCodeInfoController {
|
|
|
|
|
}
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 감면차량등록관리
|
|
|
|
|
* @author jisung
|
|
|
|
|
* @task [SD16] 감면차량 삭제
|
|
|
|
|
* 면제차량 삭제
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD007M01] 면제차량 관리
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/deleteScarList.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> deleteScarList(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/deleteExemptList.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> deleteExemptList(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<StandardCodeInfoVO> statList = null;
|
|
|
|
|
try {
|
|
|
|
|
StandardCodeInfoService.deleteScarList(standardCodeInfoVO);
|
|
|
|
|
StandardCodeInfoService.deleteExemptList(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
@ -711,27 +657,27 @@ public class StandardCodeInfoController {
|
|
|
|
|
}
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 가맹점 정보 등록 조회
|
|
|
|
|
* 다자녀 등록
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD11] 조회
|
|
|
|
|
* @task [SD007M01] 면제차량 관리
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardFranchisee.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardFranchisee(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/insertManyChildExemptCarInfo.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> insertManyChildExemptCarInfo(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<StandardCodeInfoVO> statList = null;
|
|
|
|
|
Map <String,String> statMap = null;
|
|
|
|
|
try {
|
|
|
|
|
statList = StandardCodeInfoService.findStandardFranchisee(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
HttpSession session = request.getSession();
|
|
|
|
|
standardCodeInfoVO.setSessionUserNm((String) session.getAttribute("EMP_NM"));
|
|
|
|
|
statMap = StandardCodeInfoService.insertManyChildExemptCarInfo(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statMap);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
@ -744,24 +690,23 @@ public class StandardCodeInfoController {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 카드 발행사
|
|
|
|
|
* 면제차량 정보 엑셀업로드
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD11] popup조회
|
|
|
|
|
* @task [SD007M01] 면제차량 관리
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardCardAgency.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardCardAgency(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
@RequestMapping(value="/cfs/standard/insertExcelExemptCars.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> insertExcelExemptCars(@RequestBody ParamBean<List<StandardCodeInfoVO>> param, HttpServletRequest request) {
|
|
|
|
|
List<StandardCodeInfoVO> standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<StandardCodeInfoVO> statList = null;
|
|
|
|
|
int insResult = 0;
|
|
|
|
|
try {
|
|
|
|
|
statList = StandardCodeInfoService.findStandardCardAgency(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
insResult = StandardCodeInfoService.insertExcelExemptCars(standardCodeInfoVO);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "저장이 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
@ -772,23 +717,21 @@ public class StandardCodeInfoController {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 카드 발행사
|
|
|
|
|
* 면제차량 엑셀 업로드 오류 조회
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD11] popup수정
|
|
|
|
|
* @task [SD007M01] 면제차량 관리
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/updateStandardCardAgency.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> updateStandardCardAgency(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findExemptExcelUploadErrorList.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findExemptExcelUploadErrorList() {
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<StandardCodeInfoVO> statList = null;
|
|
|
|
|
try {
|
|
|
|
|
HttpSession session = request.getSession();
|
|
|
|
|
standardCodeInfoVO.setSessionUserNm((String) session.getAttribute("EMP_NM"));
|
|
|
|
|
StandardCodeInfoService.updateStandardCardAgency(standardCodeInfoVO);
|
|
|
|
|
StandardCodeInfoService.insertStandardCardAgency(standardCodeInfoVO);
|
|
|
|
|
statList = StandardCodeInfoService.findExemptExcelUploadErrorList();
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
@ -799,24 +742,26 @@ public class StandardCodeInfoController {
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 카드 발행사
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD11] popup추가
|
|
|
|
|
* 감면차량등록관리
|
|
|
|
|
* @author jisung
|
|
|
|
|
* @task [SD16] 조회 - 감면차량 목록 조회
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/insertStandardCardAgencyAdd.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> insertStandardCardAgencyAdd(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardScar.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardScar(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<StandardCodeInfoVO> statList = null;
|
|
|
|
|
try {
|
|
|
|
|
HttpSession session = request.getSession();
|
|
|
|
|
standardCodeInfoVO.setSessionUserNm((String) session.getAttribute("EMP_NM"));
|
|
|
|
|
StandardCodeInfoService.insertStandardCardAgencyAdd(standardCodeInfoVO);
|
|
|
|
|
statList = StandardCodeInfoService.findStandardScar(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
@ -826,26 +771,25 @@ public class StandardCodeInfoController {
|
|
|
|
|
}
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 카드 발행사
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD11] popup조회
|
|
|
|
|
* 감면차량등록관리
|
|
|
|
|
* @author jisung
|
|
|
|
|
* @task [SD16] 조회 - 감면차량 1건 조회
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardCardOverlap.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardCardOverlap(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/findStandardScarCarNo.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> findStandardScarCarNo(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<StandardCodeInfoVO> statList = null;
|
|
|
|
|
Map <String,String> statMap = null;
|
|
|
|
|
try {
|
|
|
|
|
statList = StandardCodeInfoService.findStandardCardOverlap(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
statMap = StandardCodeInfoService.findStandardScarCarNo(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statMap);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
@ -855,25 +799,29 @@ public class StandardCodeInfoController {
|
|
|
|
|
}
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 면제차량 정보 삭제
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD11] popup조회
|
|
|
|
|
* 감면차량등록관리
|
|
|
|
|
* @author jisung
|
|
|
|
|
* @task [SD16] 저장
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/deleteExemptList.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> deleteExemptList(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/updateStandardScarCarNo.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> updateStandardScarCarNo(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<StandardCodeInfoVO> statList = null;
|
|
|
|
|
Map <String,String> statMap = null;
|
|
|
|
|
try {
|
|
|
|
|
StandardCodeInfoService.deleteExemptList(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
HttpSession session = request.getSession();
|
|
|
|
|
standardCodeInfoVO.setSessionUserNm((String) session.getAttribute("EMP_NM"));
|
|
|
|
|
statMap = StandardCodeInfoService.updateStandardScarCarNo(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statMap);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
@ -884,22 +832,25 @@ public class StandardCodeInfoController {
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 면제차량 정보 삭제
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD11] popup조회
|
|
|
|
|
* 감면차량등록관리
|
|
|
|
|
* @author jisung
|
|
|
|
|
* @task [SD16] 감면차량 삭제
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/fineExemptErrorList.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> fineExemptErrorList() {
|
|
|
|
|
@RequestMapping(value="/cfs/standard/deleteScarList.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> deleteScarList(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
List<StandardCodeInfoVO> statList = null;
|
|
|
|
|
try {
|
|
|
|
|
statList = StandardCodeInfoService.fineExemptErrorList();
|
|
|
|
|
StandardCodeInfoService.deleteScarList(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statList);
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
@ -911,31 +862,19 @@ public class StandardCodeInfoController {
|
|
|
|
|
return result.getResult();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 면제차량 정보
|
|
|
|
|
* @author cfs02
|
|
|
|
|
* @task [SD07] 저장
|
|
|
|
|
* @param param
|
|
|
|
|
* @return
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value="/cfs/standard/insertManyExemptCarNo.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> insertManyExemptCarNo(@RequestBody ParamBean<StandardCodeInfoVO> param, HttpServletRequest request) {
|
|
|
|
|
StandardCodeInfoVO standardCodeInfoVO = param.getParam();
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value="/cfs/standard/insertLocalResidentsCars.do", method=RequestMethod.POST)
|
|
|
|
|
public @ResponseBody Map<String, Object> insertLocalResidentsCars(@RequestBody List<LocalResidentsExcelUpVO> localResidentsExcelUpVOs, HttpServletRequest request) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Result result = new Result();
|
|
|
|
|
Map <String,String> statMap = null;
|
|
|
|
|
int insResult = 0;
|
|
|
|
|
try {
|
|
|
|
|
HttpSession session = request.getSession();
|
|
|
|
|
standardCodeInfoVO.setSessionUserNm((String) session.getAttribute("EMP_NM"));
|
|
|
|
|
statMap = StandardCodeInfoService.insertManyExemptCarNo(standardCodeInfoVO);
|
|
|
|
|
result.setData("result", statMap);
|
|
|
|
|
|
|
|
|
|
for(LocalResidentsExcelUpVO vo: localResidentsExcelUpVOs){
|
|
|
|
|
insResult += StandardCodeInfoService.insertLocalResidentsCars(vo);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "정상적으로 조회가 완료되었습니다.");
|
|
|
|
|
result.setMsg(Result.STATUS_SUCESS, "저장이 완료되었습니다.");
|
|
|
|
|
}catch(RuntimeException e) {
|
|
|
|
|
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
|