|
|
@ -10,6 +10,8 @@ import javax.annotation.Resource;
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
|
|
|
|
|
|
|
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 com.fasterxml.jackson.core.type.TypeReference;
|
|
|
|
import com.fasterxml.jackson.core.type.TypeReference;
|
|
|
@ -37,6 +39,7 @@ import cokr.xit.fims.cvlc.CrdnCvlcpt;
|
|
|
|
import cokr.xit.fims.cvlc.service.CrdnCvlcptService;
|
|
|
|
import cokr.xit.fims.cvlc.service.CrdnCvlcptService;
|
|
|
|
import cokr.xit.fims.cvlc.service.bean.CrdnCvlcptMainBean;
|
|
|
|
import cokr.xit.fims.cvlc.service.bean.CrdnCvlcptMainBean;
|
|
|
|
import cokr.xit.fims.mngt.service.bean.FactionBean;
|
|
|
|
import cokr.xit.fims.mngt.service.bean.FactionBean;
|
|
|
|
|
|
|
|
import cokr.xit.fims.task.Task;
|
|
|
|
import cokr.xit.foundation.UserInfo;
|
|
|
|
import cokr.xit.foundation.UserInfo;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
|
|
|
|
|
|
|
@ -44,6 +47,8 @@ import cokr.xit.foundation.data.DataObject;
|
|
|
|
* {웹 컨텍스트}/cvlc/cvlc01 로 접근할 수 있다.
|
|
|
|
* {웹 컨텍스트}/cvlc/cvlc01 로 접근할 수 있다.
|
|
|
|
* @author leebj
|
|
|
|
* @author leebj
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Controller
|
|
|
|
|
|
|
|
@RequestMapping(name="민원접수자료 관리 업무", value=Cvlc01Controller.CLASS_URL)
|
|
|
|
public class Cvlc01Controller extends ApplicationController {
|
|
|
|
public class Cvlc01Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
public static final String CLASS_URL = "/cvlc/cvlc01";
|
|
|
|
public static final String CLASS_URL = "/cvlc/cvlc01";
|
|
|
@ -90,6 +95,7 @@ public class Cvlc01Controller extends ApplicationController {
|
|
|
|
/** 민원 접수 자료 메인화면을 연다.
|
|
|
|
/** 민원 접수 자료 메인화면을 연다.
|
|
|
|
* @return fims/cvlc/cvlc01010-main
|
|
|
|
* @return fims/cvlc/cvlc01010-main
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@RequestMapping(name="민원 접수 자료 메인", value=METHOD_URL.civilComplaintReceiptDataMain)
|
|
|
|
public ModelAndView civilComplaintReceiptDataMain() {
|
|
|
|
public ModelAndView civilComplaintReceiptDataMain() {
|
|
|
|
ModelAndView mav = new ModelAndView();
|
|
|
|
ModelAndView mav = new ModelAndView();
|
|
|
|
mav.setViewName("fims/cvlc/cvlc01010-main");
|
|
|
|
mav.setViewName("fims/cvlc/cvlc01010-main");
|
|
|
@ -109,6 +115,8 @@ public class Cvlc01Controller extends ApplicationController {
|
|
|
|
* @param query 민원접수자료 목록 조회 조건
|
|
|
|
* @param query 민원접수자료 목록 조회 조건
|
|
|
|
* @return jsonView
|
|
|
|
* @return jsonView
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="민원접수자료 목록 조회", value=METHOD_URL.getCivilComplaintReceiptDataList)
|
|
|
|
public ModelAndView getCivilComplaintReceiptDataList(CrdnQuery query) {
|
|
|
|
public ModelAndView getCivilComplaintReceiptDataList(CrdnQuery query) {
|
|
|
|
query.setGridType("receiptData");
|
|
|
|
query.setGridType("receiptData");
|
|
|
|
setFetchSize(query);
|
|
|
|
setFetchSize(query);
|
|
|
@ -174,6 +182,8 @@ public class Cvlc01Controller extends ApplicationController {
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="민원자료 제거", value=METHOD_URL.removeCivilComplaint)
|
|
|
|
public ModelAndView removeCivilComplaint(String[] crdnIds) {
|
|
|
|
public ModelAndView removeCivilComplaint(String[] crdnIds) {
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
boolean saved = false;
|
|
|
|
boolean saved = false;
|
|
|
@ -188,6 +198,8 @@ public class Cvlc01Controller extends ApplicationController {
|
|
|
|
/** 민원내역 원본 보기 팝업 화면을 연다.
|
|
|
|
/** 민원내역 원본 보기 팝업 화면을 연다.
|
|
|
|
* @return fims/cvlc/cvlc01050-info
|
|
|
|
* @return fims/cvlc/cvlc01050-info
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="민원내역 원본 보기", value=METHOD_URL.getCivilComplaintOriginalInfo)
|
|
|
|
public ModelAndView getCivilComplaintOriginalInfo(HttpServletRequest hReq, CrdnQuery query) {
|
|
|
|
public ModelAndView getCivilComplaintOriginalInfo(HttpServletRequest hReq, CrdnQuery query) {
|
|
|
|
|
|
|
|
|
|
|
|
boolean json = jsonResponse();
|
|
|
|
boolean json = jsonResponse();
|
|
|
@ -209,6 +221,8 @@ public class Cvlc01Controller extends ApplicationController {
|
|
|
|
/** 민원내역 원본을 한글 파일로 작성한다.
|
|
|
|
/** 민원내역 원본을 한글 파일로 작성한다.
|
|
|
|
* @return hwp파일
|
|
|
|
* @return hwp파일
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="민원내역 원본 한글 파일 생성", value=METHOD_URL.makeFileFromHwpFormat)
|
|
|
|
public ModelAndView makeFileFromHwpFormat(CrdnQuery query) {
|
|
|
|
public ModelAndView makeFileFromHwpFormat(CrdnQuery query) {
|
|
|
|
ModelAndView mav = new ModelAndView("downloadView");
|
|
|
|
ModelAndView mav = new ModelAndView("downloadView");
|
|
|
|
DataObject dataObject = crdnCvlcptMainBean.getCivilComplaintOriginalInfo(query);
|
|
|
|
DataObject dataObject = crdnCvlcptMainBean.getCivilComplaintOriginalInfo(query);
|
|
|
@ -265,6 +279,8 @@ public class Cvlc01Controller extends ApplicationController {
|
|
|
|
/**민원접수 초기자료 상세조회 팝업 화면을 연다.<br />
|
|
|
|
/**민원접수 초기자료 상세조회 팝업 화면을 연다.<br />
|
|
|
|
* @return fims/cvlc/cvlc01020-info
|
|
|
|
* @return fims/cvlc/cvlc01020-info
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="민원접수 초기자료 조회", value=METHOD_URL.getCivilComplaintReceiptInitialDataInfo)
|
|
|
|
public ModelAndView getCivilComplaintReceiptInitialDataInfo(HttpServletRequest hReq, CrdnQuery query) {
|
|
|
|
public ModelAndView getCivilComplaintReceiptInitialDataInfo(HttpServletRequest hReq, CrdnQuery query) {
|
|
|
|
boolean json = jsonResponse();
|
|
|
|
boolean json = jsonResponse();
|
|
|
|
|
|
|
|
|
|
|
@ -330,6 +346,8 @@ public class Cvlc01Controller extends ApplicationController {
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="민원 정보 수정", value=METHOD_URL.saveCivilComplaintProcessSection)
|
|
|
|
public ModelAndView saveCivilComplaintProcessSection(HttpServletRequest hReq, CrdnCvlcpt crdnCvlcpt, Crdn crdn) {
|
|
|
|
public ModelAndView saveCivilComplaintProcessSection(HttpServletRequest hReq, CrdnCvlcpt crdnCvlcpt, Crdn crdn) {
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
|
|
|
|
|
|
|
@ -367,6 +385,8 @@ public class Cvlc01Controller extends ApplicationController {
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="민원 자료 복사", value=METHOD_URL.copyCivilComplaintInfo)
|
|
|
|
public ModelAndView copyCivilComplaintInfo(String crdnId) {
|
|
|
|
public ModelAndView copyCivilComplaintInfo(String crdnId) {
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
|
|
|
|
|
|
|
@ -387,6 +407,8 @@ public class Cvlc01Controller extends ApplicationController {
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="민원 자료 반송", value=METHOD_URL.sendBackCivilComplaintInfo)
|
|
|
|
public ModelAndView sendBackCivilComplaintInfo(String crdnId) {
|
|
|
|
public ModelAndView sendBackCivilComplaintInfo(String crdnId) {
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
|
|
|
|
|
|
|
|