|
|
@ -34,6 +34,7 @@ import cokr.xit.adds.cmmn.hwp.format.DisposeResultReport;
|
|
|
|
import cokr.xit.adds.nims.DsuseMgtDetailQuery;
|
|
|
|
import cokr.xit.adds.nims.DsuseMgtDetailQuery;
|
|
|
|
import cokr.xit.adds.nims.DsuseMgtDocQuery;
|
|
|
|
import cokr.xit.adds.nims.DsuseMgtDocQuery;
|
|
|
|
import cokr.xit.adds.nims.DsuseMgtReceiptQuery;
|
|
|
|
import cokr.xit.adds.nims.DsuseMgtReceiptQuery;
|
|
|
|
|
|
|
|
import cokr.xit.adds.nims.DsuseMgtRsltQuery;
|
|
|
|
import cokr.xit.adds.nims.service.AddsNimsService;
|
|
|
|
import cokr.xit.adds.nims.service.AddsNimsService;
|
|
|
|
import cokr.xit.adds.nims.service.DsuseMgtDocService;
|
|
|
|
import cokr.xit.adds.nims.service.DsuseMgtDocService;
|
|
|
|
import cokr.xit.adds.nims.service.DsuseMgtReceiptService;
|
|
|
|
import cokr.xit.adds.nims.service.DsuseMgtReceiptService;
|
|
|
@ -174,6 +175,8 @@ public class AddsNimsController extends ApplicationController {
|
|
|
|
//-------------------------------------------------------------------------------------------------
|
|
|
|
//-------------------------------------------------------------------------------------------------
|
|
|
|
@RequestMapping(value = "dsuseMgtRslt-list.do", name="결과[통보] 처리 조회")
|
|
|
|
@RequestMapping(value = "dsuseMgtRslt-list.do", name="결과[통보] 처리 조회")
|
|
|
|
public ModelAndView getDsuseMgtRsltList(DsuseMgtReceiptQuery query) {
|
|
|
|
public ModelAndView getDsuseMgtRsltList(DsuseMgtReceiptQuery query) {
|
|
|
|
|
|
|
|
query.setOrderBy("DSUSE_DE DESC, DSUSE_MTH_CD, DSCDMNG_ID");
|
|
|
|
|
|
|
|
//query.setOrderBy("DSUSE_MTH_CD");
|
|
|
|
setFetchSize(query);
|
|
|
|
setFetchSize(query);
|
|
|
|
|
|
|
|
|
|
|
|
return setCollectionInfo(new ModelAndView("jsonView"), dsuseMgtReceiptService.getDsuseMgtReceiptList(query),"","");
|
|
|
|
return setCollectionInfo(new ModelAndView("jsonView"), dsuseMgtReceiptService.getDsuseMgtReceiptList(query),"","");
|
|
|
@ -198,6 +201,27 @@ public class AddsNimsController extends ApplicationController {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.toList();
|
|
|
|
.toList();
|
|
|
|
mav.addObject("fileInfos", toJson(fileInfos));
|
|
|
|
mav.addObject("fileInfos", toJson(fileInfos));
|
|
|
|
|
|
|
|
// 폐기증거사진 - 폐기증거사진 등록 정보 조회
|
|
|
|
|
|
|
|
mav.addObject("dsuseRsltImgList",
|
|
|
|
|
|
|
|
toJson("[]")
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 폐기일자가 있는 경우 - 폐기증거사진 등록 정보 조회
|
|
|
|
|
|
|
|
if(!isEmpty(dsuseRsltInfo.getDsuseDe())) {
|
|
|
|
|
|
|
|
mav.addObject(
|
|
|
|
|
|
|
|
"dsuseRsltImgList",
|
|
|
|
|
|
|
|
toJson(
|
|
|
|
|
|
|
|
addsNimsService.getDsuseMgtRsltImgList(
|
|
|
|
|
|
|
|
new DsuseMgtRsltQuery()
|
|
|
|
|
|
|
|
.setDscdmngId(dsuseRsltInfo.getDscdmngId())
|
|
|
|
|
|
|
|
.setDeptCd(dsuseRsltInfo.getDeptCd())
|
|
|
|
|
|
|
|
.setDsuseDe(dsuseRsltInfo.getDsuseDe().replaceAll("-", ""))
|
|
|
|
|
|
|
|
.setDsuseMthCd(dsuseRsltInfo.getDsuseMthCd()
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return mav
|
|
|
|
return mav
|
|
|
|
.addObject("pageName", "dsuseMgtRsltInfo") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
|
|
|
|
.addObject("pageName", "dsuseMgtRsltInfo") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
|
|
|
@ -249,7 +273,7 @@ public class AddsNimsController extends ApplicationController {
|
|
|
|
//-------------------------------------------------------------------------------------------------
|
|
|
|
//-------------------------------------------------------------------------------------------------
|
|
|
|
// 보고 문서 관리
|
|
|
|
// 보고 문서 관리
|
|
|
|
//-------------------------------------------------------------------------------------------------
|
|
|
|
//-------------------------------------------------------------------------------------------------
|
|
|
|
@RequestMapping(value = "dsuseMgtDoc-list.do", name="결과[통보] 처리 조회")
|
|
|
|
@RequestMapping(value = "dsuseMgtDoc-list.do", name="보고문서관리 목록 조회")
|
|
|
|
public ModelAndView getDsuseMgtDocList(DsuseMgtDocQuery query) {
|
|
|
|
public ModelAndView getDsuseMgtDocList(DsuseMgtDocQuery query) {
|
|
|
|
query.setOrderBy("dsuse_de DESC, dsuse_mth_cd, dscdmng_id DESC");
|
|
|
|
query.setOrderBy("dsuse_de DESC, dsuse_mth_cd, dscdmng_id DESC");
|
|
|
|
setFetchSize(query);
|
|
|
|
setFetchSize(query);
|
|
|
|