|
|
|
@ -8,6 +8,8 @@ import java.util.Map;
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
|
|
|
|
|
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 cokr.xit.base.code.CommonCode;
|
|
|
|
@ -21,6 +23,7 @@ import cokr.xit.fims.cmmn.service.bean.StngBean;
|
|
|
|
|
import cokr.xit.fims.sprt.CvlcptDscsn;
|
|
|
|
|
import cokr.xit.fims.sprt.CvlcptDscsnQuery;
|
|
|
|
|
import cokr.xit.fims.sprt.service.CvlcptDscsnService;
|
|
|
|
|
import cokr.xit.fims.task.Task;
|
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
|
|
|
|
|
|
/**민원 상담 내용 서비스의 웹 컨트롤러
|
|
|
|
@ -33,6 +36,8 @@ import cokr.xit.foundation.data.DataObject;
|
|
|
|
|
* ================================
|
|
|
|
|
* </pre>
|
|
|
|
|
*/
|
|
|
|
|
@Controller
|
|
|
|
|
@RequestMapping(name="민원 상담 내용", value="/sprt/sprt04")
|
|
|
|
|
public class Sprt04Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
public static final String CLASS_URL = "/sprt/sprt04";
|
|
|
|
@ -61,6 +66,7 @@ public class Sprt04Controller extends ApplicationController {
|
|
|
|
|
*
|
|
|
|
|
* @return /fims/sprt/sprt04010
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(name="민원 상담 내용 메인", value="/010/main.do")
|
|
|
|
|
public ModelAndView civilComplaintDiscussionMain() {
|
|
|
|
|
// View(jsp)
|
|
|
|
|
ModelAndView mav = new ModelAndView("fims/sprt/sprt04010-main");
|
|
|
|
@ -90,6 +96,8 @@ public class Sprt04Controller extends ApplicationController {
|
|
|
|
|
* "cvlcptDscsnTotal": 조회 결과 찾은 전체 민원 상담 내용 수
|
|
|
|
|
* }</code></pre>
|
|
|
|
|
*/
|
|
|
|
|
@Task
|
|
|
|
|
@RequestMapping(name="민원 상담 대장 목록 조회", value=METHOD_URL.getCvlcptDscsnList)
|
|
|
|
|
public ModelAndView getCvlcptDscsnList(CvlcptDscsnQuery req) {
|
|
|
|
|
if (!"xls".equals(req.getDownload())) {
|
|
|
|
|
List<?> result = cvlcptDscsnService.getCvlcptDscsnList(setFetchSize(req));
|
|
|
|
@ -149,6 +157,8 @@ public class Sprt04Controller extends ApplicationController {
|
|
|
|
|
* "cvlcptDscsnInfo": 민원 상담 정보
|
|
|
|
|
* }</pre>
|
|
|
|
|
*/
|
|
|
|
|
@Task
|
|
|
|
|
@RequestMapping(name="민원 상담 대장 건수 조회", value=METHOD_URL.getCvlcptDscsnNocs)
|
|
|
|
|
public ModelAndView getCvlcptDscsnNocs(CvlcptDscsnQuery req) {
|
|
|
|
|
//
|
|
|
|
|
DataObject result = cvlcptDscsnService.getCvlcptDscsnNocs(req);
|
|
|
|
@ -166,6 +176,8 @@ public class Sprt04Controller extends ApplicationController {
|
|
|
|
|
* "cvlcptDscsnInfo": 민원 상담 정보
|
|
|
|
|
* }</pre>
|
|
|
|
|
*/
|
|
|
|
|
@Task
|
|
|
|
|
@RequestMapping(name="민원 상담 정보 조회", value=METHOD_URL.getCvlcptDscsnInfo)
|
|
|
|
|
public ModelAndView getCvlcptDscsnInfo(CvlcptDscsnQuery req) {
|
|
|
|
|
DataObject cvlcptDscsnInfo = cvlcptDscsnService.getCvlcptDscsnInfo(req);
|
|
|
|
|
|
|
|
|
@ -191,6 +203,8 @@ public class Sprt04Controller extends ApplicationController {
|
|
|
|
|
* "saved": 등록되었으면 true, 그렇지 않으면 false
|
|
|
|
|
* }</code></pre>
|
|
|
|
|
*/
|
|
|
|
|
@Task
|
|
|
|
|
@RequestMapping(name="민원 상담 대장 등록", value=METHOD_URL.createCvlcptDscsn)
|
|
|
|
|
public ModelAndView createCvlcptDscsn(CvlcptDscsn cvlcptDscsn) {
|
|
|
|
|
boolean saved = false;
|
|
|
|
|
String rtnMsg = cvlcptDscsnService.createCvlcptDscsn(cvlcptDscsn);
|
|
|
|
@ -213,6 +227,8 @@ public class Sprt04Controller extends ApplicationController {
|
|
|
|
|
* "saved": 수정되었으면 true, 그렇지 않으면 false
|
|
|
|
|
* }</code></pre>
|
|
|
|
|
*/
|
|
|
|
|
@Task
|
|
|
|
|
@RequestMapping(name="민원 상담 대장 수정", value=METHOD_URL.updateCvlcptDscsn)
|
|
|
|
|
public ModelAndView updateCvlcptDscsn(CvlcptDscsn cvlcptDscsn) {
|
|
|
|
|
boolean saved = false;
|
|
|
|
|
String rtnMsg = cvlcptDscsnService.updateCvlcptDscsn(cvlcptDscsn);
|
|
|
|
@ -236,6 +252,8 @@ public class Sprt04Controller extends ApplicationController {
|
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
|
* }</code></pre>
|
|
|
|
|
*/
|
|
|
|
|
@Task
|
|
|
|
|
@RequestMapping(name="민원 상담 대장 목록 삭제", value=METHOD_URL.removeCvlcptDscsnList)
|
|
|
|
|
public ModelAndView removeCvlcptDscsnList(CvlcptDscsnQuery req) {
|
|
|
|
|
boolean saved = false;
|
|
|
|
|
String rtnMsg = cvlcptDscsnService.removeCvlcptDscsnList(req);
|
|
|
|
@ -259,6 +277,8 @@ public class Sprt04Controller extends ApplicationController {
|
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
|
* }</code></pre>
|
|
|
|
|
*/
|
|
|
|
|
@Task
|
|
|
|
|
@RequestMapping(name="민원 상담 대장 삭제", value=METHOD_URL.removeCvlcptDscsn)
|
|
|
|
|
public ModelAndView removeCvlcptDscsn(CvlcptDscsn cvlcptDscsn) {
|
|
|
|
|
boolean saved = false;
|
|
|
|
|
String rtnMsg = cvlcptDscsnService.removeCvlcptDscsn(cvlcptDscsn);
|
|
|
|
|