|
|
@ -9,6 +9,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.multipart.MultipartFile;
|
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
|
@ -32,6 +34,7 @@ import cokr.xit.fims.excl.OpnnSbmsn;
|
|
|
|
import cokr.xit.fims.excl.service.OpnnSbmsnService;
|
|
|
|
import cokr.xit.fims.excl.service.OpnnSbmsnService;
|
|
|
|
import cokr.xit.fims.excl.service.bean.OpnnSbmsnBean;
|
|
|
|
import cokr.xit.fims.excl.service.bean.OpnnSbmsnBean;
|
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
|
@ -45,6 +48,8 @@ import cokr.xit.foundation.data.DataObject;
|
|
|
|
* ================================
|
|
|
|
* ================================
|
|
|
|
* </pre>
|
|
|
|
* </pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Controller
|
|
|
|
|
|
|
|
@RequestMapping(name="의견제출 관리", value=Excl02Controller.CLASS_URL)
|
|
|
|
public class Excl02Controller extends ApplicationController {
|
|
|
|
public class Excl02Controller extends ApplicationController {
|
|
|
|
|
|
|
|
|
|
|
|
public static final String CLASS_URL = "/excl/excl02";
|
|
|
|
public static final String CLASS_URL = "/excl/excl02";
|
|
|
@ -84,6 +89,7 @@ public class Excl02Controller extends ApplicationController {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return /fims/excl/excl02010
|
|
|
|
* @return /fims/excl/excl02010
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@RequestMapping(name = "의견제출 관리 메인", value = METHOD_URL.opinionSubmissionMain)
|
|
|
|
public ModelAndView opinionSubmissionMain() {
|
|
|
|
public ModelAndView opinionSubmissionMain() {
|
|
|
|
ModelAndView mav = new ModelAndView("fims/excl/excl02010-main");
|
|
|
|
ModelAndView mav = new ModelAndView("fims/excl/excl02010-main");
|
|
|
|
|
|
|
|
|
|
|
@ -115,6 +121,8 @@ public class Excl02Controller extends ApplicationController {
|
|
|
|
* "opnnSbmsnTotal": 조회 결과 찾은 전체 의견제출 대장 수
|
|
|
|
* "opnnSbmsnTotal": 조회 결과 찾은 전체 의견제출 대장 수
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="의견제출 대장 목록 조회", value=METHOD_URL.getOpinionSubmissionList)
|
|
|
|
public ModelAndView getOpinionSubmissionList(LevyExclQuery req) {
|
|
|
|
public ModelAndView getOpinionSubmissionList(LevyExclQuery req) {
|
|
|
|
if (!"xls".equals(req.getDownload())) {
|
|
|
|
if (!"xls".equals(req.getDownload())) {
|
|
|
|
List<?> result = opnnSbmsnService.getOpnnSbmsnList(setFetchSize(req));
|
|
|
|
List<?> result = opnnSbmsnService.getOpnnSbmsnList(setFetchSize(req));
|
|
|
@ -201,6 +209,8 @@ public class Excl02Controller extends ApplicationController {
|
|
|
|
* "opnnSbmsnInfo": 의견제출 정보
|
|
|
|
* "opnnSbmsnInfo": 의견제출 정보
|
|
|
|
* }</pre>
|
|
|
|
* }</pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="의견제출 정보 조회", value=METHOD_URL.getOpinionSubmissionInfo)
|
|
|
|
public ModelAndView getOpinionSubmissionInfo(LevyExclQuery req) {
|
|
|
|
public ModelAndView getOpinionSubmissionInfo(LevyExclQuery req) {
|
|
|
|
// 의견제출 정보 조회
|
|
|
|
// 의견제출 정보 조회
|
|
|
|
DataObject info = opnnSbmsnService.getOpnnSbmsnInfo(req);
|
|
|
|
DataObject info = opnnSbmsnService.getOpnnSbmsnInfo(req);
|
|
|
@ -238,6 +248,8 @@ public class Excl02Controller extends ApplicationController {
|
|
|
|
* "saved": 등록되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 등록되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="의견제출 대장 등록", value=METHOD_URL.createOpinionSubmission)
|
|
|
|
public ModelAndView createOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
|
|
|
|
public ModelAndView createOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
|
|
|
|
// 파일
|
|
|
|
// 파일
|
|
|
|
List<FileInfo> fileInfoList = new ArrayList<FileInfo>();
|
|
|
|
List<FileInfo> fileInfoList = new ArrayList<FileInfo>();
|
|
|
@ -267,6 +279,8 @@ public class Excl02Controller extends ApplicationController {
|
|
|
|
* "saved": 수정되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 수정되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="의견제출 대장 수정", value=METHOD_URL.updateOpinionSubmission)
|
|
|
|
public ModelAndView updateOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
|
|
|
|
public ModelAndView updateOpinionSubmission(OpnnSbmsn opnnSbmsn, MultipartFile[] uploadFiles) {
|
|
|
|
// 파일
|
|
|
|
// 파일
|
|
|
|
List<FileInfo> fileInfoList = new ArrayList<FileInfo>();
|
|
|
|
List<FileInfo> fileInfoList = new ArrayList<FileInfo>();
|
|
|
@ -296,6 +310,8 @@ public class Excl02Controller extends ApplicationController {
|
|
|
|
* "opnnSbmsnSttsInfo": 의견제출 정보
|
|
|
|
* "opnnSbmsnSttsInfo": 의견제출 정보
|
|
|
|
* }</pre>
|
|
|
|
* }</pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="의견제출 대장 심의 조회", value=METHOD_URL.getOpinionSubmissionAnswerInfo)
|
|
|
|
public ModelAndView getOpinionSubmissionAnswerInfo(LevyExclQuery req) {
|
|
|
|
public ModelAndView getOpinionSubmissionAnswerInfo(LevyExclQuery req) {
|
|
|
|
//
|
|
|
|
//
|
|
|
|
DataObject info = opnnSbmsnService.getOpnnSbmsnInfo(req);
|
|
|
|
DataObject info = opnnSbmsnService.getOpnnSbmsnInfo(req);
|
|
|
@ -326,6 +342,8 @@ public class Excl02Controller extends ApplicationController {
|
|
|
|
* "saved": 수정되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 수정되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="의견제출 대장 심의 수정", value=METHOD_URL.updateOpinionSubmissionAnswer)
|
|
|
|
public ModelAndView updateOpinionSubmissionAnswer(OpnnSbmsn opnnSbmsn) {
|
|
|
|
public ModelAndView updateOpinionSubmissionAnswer(OpnnSbmsn opnnSbmsn) {
|
|
|
|
boolean saved = false;
|
|
|
|
boolean saved = false;
|
|
|
|
String rtnMsg = opnnSbmsnService.updateOpnnSbmsnAnswer(opnnSbmsn);
|
|
|
|
String rtnMsg = opnnSbmsnService.updateOpnnSbmsnAnswer(opnnSbmsn);
|
|
|
@ -349,6 +367,8 @@ public class Excl02Controller extends ApplicationController {
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="의견제출 심의의결서 출력", value=METHOD_URL.makeDlbrDecsnFileFromHwpFormat)
|
|
|
|
public ModelAndView makeDlbrDecsnFileFromHwpFormat(LevyExclQuery req) {
|
|
|
|
public ModelAndView makeDlbrDecsnFileFromHwpFormat(LevyExclQuery req) {
|
|
|
|
|
|
|
|
|
|
|
|
HWPWriter hwpWriter = new HWPWriter();
|
|
|
|
HWPWriter hwpWriter = new HWPWriter();
|
|
|
@ -378,6 +398,8 @@ public class Excl02Controller extends ApplicationController {
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* "saved": 저장되었으면 true, 그렇지 않으면 false
|
|
|
|
* }</code></pre>
|
|
|
|
* }</code></pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Task
|
|
|
|
|
|
|
|
@RequestMapping(name="의견제출 대장 삭제", value=METHOD_URL.removeOpinionSubmission)
|
|
|
|
public ModelAndView removeOpinionSubmission(OpnnSbmsn opnnSbmsn) {
|
|
|
|
public ModelAndView removeOpinionSubmission(OpnnSbmsn opnnSbmsn) {
|
|
|
|
boolean saved = false;
|
|
|
|
boolean saved = false;
|
|
|
|
String rtnMsg = opnnSbmsnService.removeOpnnSbmsn(opnnSbmsn);
|
|
|
|
String rtnMsg = opnnSbmsnService.removeOpnnSbmsn(opnnSbmsn);
|
|
|
|