|
|
@ -7,6 +7,8 @@ import java.util.Map;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
|
|
|
|
|
|
|
import org.apache.poi.ss.usermodel.CellStyle;
|
|
|
|
import org.apache.poi.ss.usermodel.CellStyle;
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
|
|
import cokr.xit.base.code.CommonCode;
|
|
|
|
import cokr.xit.base.code.CommonCode;
|
|
|
@ -27,12 +29,15 @@ import cokr.xit.fims.crdn.CrdnQuery;
|
|
|
|
import cokr.xit.fims.crdn.dao.CrdnStngMapper;
|
|
|
|
import cokr.xit.fims.crdn.dao.CrdnStngMapper;
|
|
|
|
import cokr.xit.fims.crdn.service.CrdnService;
|
|
|
|
import cokr.xit.fims.crdn.service.CrdnService;
|
|
|
|
import cokr.xit.fims.crdn.service.CrdnStngService;
|
|
|
|
import cokr.xit.fims.crdn.service.CrdnStngService;
|
|
|
|
|
|
|
|
import cokr.xit.fims.task.Task;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
|
|
|
|
|
|
|
|
/**단속 관리 서비스 웹 컨트롤러.<br />
|
|
|
|
/**단속 관리 서비스 웹 컨트롤러.<br />
|
|
|
|
* {웹 컨텍스트}/crdn/crdn06 로 접근할 수 있다.
|
|
|
|
* {웹 컨텍스트}/crdn/crdn06 로 접근할 수 있다.
|
|
|
|
* @author leebj
|
|
|
|
* @author leebj
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Controller
|
|
|
|
|
|
|
|
@RequestMapping(name="단속 관리", value=Crdn06Controller.CLASS_URL)
|
|
|
|
public class Crdn06Controller extends ApplicationController {
|
|
|
|
public class Crdn06Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
public static final String CLASS_URL = "/crdn/crdn06";
|
|
|
|
public static final String CLASS_URL = "/crdn/crdn06";
|
|
|
@ -73,6 +78,7 @@ public class Crdn06Controller extends ApplicationController {
|
|
|
|
/** 단속 관리 메인화면을 연다.
|
|
|
|
/** 단속 관리 메인화면을 연다.
|
|
|
|
* @return fims/crdn/crdn06010-main
|
|
|
|
* @return fims/crdn/crdn06010-main
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@RequestMapping(name="단속 관리 메인", value=METHOD_URL.crackdownManagementMain)
|
|
|
|
public ModelAndView crackdownManagementMain(String openType, String taskSeCd) {
|
|
|
|
public ModelAndView crackdownManagementMain(String openType, String taskSeCd) {
|
|
|
|
ModelAndView mav = new ModelAndView();
|
|
|
|
ModelAndView mav = new ModelAndView();
|
|
|
|
mav.setViewName("fims/crdn/crdn06010-main");
|
|
|
|
mav.setViewName("fims/crdn/crdn06010-main");
|
|
|
@ -96,6 +102,8 @@ public class Crdn06Controller extends ApplicationController {
|
|
|
|
* @param query 단속자료 목록 조회 조건
|
|
|
|
* @param query 단속자료 목록 조회 조건
|
|
|
|
* @return jsonView
|
|
|
|
* @return jsonView
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="단속자료 목록", value=METHOD_URL.getCrackdownList)
|
|
|
|
public ModelAndView getCrackdownList(CrdnQuery query) {
|
|
|
|
public ModelAndView getCrackdownList(CrdnQuery query) {
|
|
|
|
setFetchSize(query);
|
|
|
|
setFetchSize(query);
|
|
|
|
|
|
|
|
|
|
|
@ -180,6 +188,8 @@ public class Crdn06Controller extends ApplicationController {
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="단속자료 삭제", value=METHOD_URL.removeCrackdown)
|
|
|
|
public ModelAndView removeCrackdown(Crdn crdn) {
|
|
|
|
public ModelAndView removeCrackdown(Crdn crdn) {
|
|
|
|
boolean saved = false;
|
|
|
|
boolean saved = false;
|
|
|
|
String rtnMsg = crdnService.removeCrackdown(crdn);
|
|
|
|
String rtnMsg = crdnService.removeCrackdown(crdn);
|
|
|
@ -203,6 +213,8 @@ public class Crdn06Controller extends ApplicationController {
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="단속자료 납부자 삭제", value=METHOD_URL.removeCrackdownPayer)
|
|
|
|
public ModelAndView removeCrackdownPayer(Crdn crdn) {
|
|
|
|
public ModelAndView removeCrackdownPayer(Crdn crdn) {
|
|
|
|
boolean saved = false;
|
|
|
|
boolean saved = false;
|
|
|
|
String rtnMsg = crdnService.removeCrackdownPayer(crdn);
|
|
|
|
String rtnMsg = crdnService.removeCrackdownPayer(crdn);
|
|
|
@ -222,6 +234,8 @@ public class Crdn06Controller extends ApplicationController {
|
|
|
|
* @param CrdnQuery 조회조건
|
|
|
|
* @param CrdnQuery 조회조건
|
|
|
|
* @return jsonView
|
|
|
|
* @return jsonView
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="단속 건수 조회", value=METHOD_URL.countCrdn)
|
|
|
|
public ModelAndView countCrdn(CrdnQuery crdnQuery) {
|
|
|
|
public ModelAndView countCrdn(CrdnQuery crdnQuery) {
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
|
|
|
|
|
|
|
@ -240,6 +254,8 @@ public class Crdn06Controller extends ApplicationController {
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="단속자료압축파일 세외수입 전송", value=METHOD_URL.sendCrdn)
|
|
|
|
public ModelAndView sendCrdn(String... crdnIds) {
|
|
|
|
public ModelAndView sendCrdn(String... crdnIds) {
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
boolean saved = false;
|
|
|
|
boolean saved = false;
|
|
|
@ -259,6 +275,8 @@ public class Crdn06Controller extends ApplicationController {
|
|
|
|
* "crdnInfo": 단속 정보
|
|
|
|
* "crdnInfo": 단속 정보
|
|
|
|
* }</pre>
|
|
|
|
* }</pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="단속자료 상세 조회", value=METHOD_URL.getCrackdownInfo)
|
|
|
|
public ModelAndView getCrackdownInfo(CrdnQuery query) {
|
|
|
|
public ModelAndView getCrackdownInfo(CrdnQuery query) {
|
|
|
|
DataObject crdnInfo = crdnService.getCrackdownInfo(query);
|
|
|
|
DataObject crdnInfo = crdnService.getCrackdownInfo(query);
|
|
|
|
|
|
|
|
|
|
|
@ -329,6 +347,8 @@ public class Crdn06Controller extends ApplicationController {
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="단속자료 수정", value=METHOD_URL.updateCrackdown)
|
|
|
|
public ModelAndView updateCrackdown(Crdn crdn) {
|
|
|
|
public ModelAndView updateCrackdown(Crdn crdn) {
|
|
|
|
boolean saved = false;
|
|
|
|
boolean saved = false;
|
|
|
|
String rtnMsg = crdnService.updateCrackdown(crdn);
|
|
|
|
String rtnMsg = crdnService.updateCrackdown(crdn);
|
|
|
@ -351,6 +371,8 @@ public class Crdn06Controller extends ApplicationController {
|
|
|
|
* "crdnInfo": 단속 정보
|
|
|
|
* "crdnInfo": 단속 정보
|
|
|
|
* }</pre>
|
|
|
|
* }</pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="단속자료 상태 조회", value=METHOD_URL.getCrackdownStatusInfo)
|
|
|
|
public ModelAndView getCrackdownStatusInfo(CrdnQuery query) {
|
|
|
|
public ModelAndView getCrackdownStatusInfo(CrdnQuery query) {
|
|
|
|
DataObject crdnInfo = crdnService.getCrackdownInfo(query);
|
|
|
|
DataObject crdnInfo = crdnService.getCrackdownInfo(query);
|
|
|
|
|
|
|
|
|
|
|
@ -375,6 +397,8 @@ public class Crdn06Controller extends ApplicationController {
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="단속처리상태 수정", value=METHOD_URL.updateCrackdownStatus)
|
|
|
|
public ModelAndView updateCrackdownStatus(Crdn crdn) {
|
|
|
|
public ModelAndView updateCrackdownStatus(Crdn crdn) {
|
|
|
|
boolean saved = false;
|
|
|
|
boolean saved = false;
|
|
|
|
String rtnMsg = crdnService.updateCrackdownStatus(crdn);
|
|
|
|
String rtnMsg = crdnService.updateCrackdownStatus(crdn);
|
|
|
|