fix: 폐기관리 샘플 반영

dev
Jonguk. Lim 6 months ago
parent 9f90765d0d
commit 56eb44f85c

@ -0,0 +1,40 @@
package cokr.xit.adds.nims.web;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.foundation.web.AbstractController;
import lombok.RequiredArgsConstructor;
@RequiredArgsConstructor
@Controller
@RequestMapping(
name = "Nims 관리",
value = {"/adds/nims"}
)
public class AddsNimsController extends AbstractController {
@Value("${app.api.host:}")
private String apiHost;
@RequestMapping(
name = "신청서접수",
value = {"/dsuseMgtReceipt.do"}
)
public ModelAndView dsuseMgtReceiptForm() {
ModelAndView mav = new ModelAndView();
mav.setViewName("adds/nims/dsuseMgtReceipt-main");
return mav.addObject("apiHost", apiHost);
}
@RequestMapping(
name = "결과[통보] 처리",
value = {"/dsuseMgtRslt.do"}
)
public ModelAndView dsuseMgtRsltForm() {
ModelAndView mav = new ModelAndView();
mav.setViewName("adds/nims/dsuseMgtRslt-main");
return mav.addObject("apiHost", apiHost);
}
}

@ -43,13 +43,13 @@ public class TestController extends AbstractController {
return mav.addObject("apiHost", apiHost);
}
@RequestMapping(
name = "결과[통보] 처리",
value = {"/dsuseMgtRslt.do"}
)
public ModelAndView dsuseMgtRsltForm() {
ModelAndView mav = new ModelAndView();
mav.setViewName("adds/nims/dsuseMgtRslt-main");
return mav.addObject("apiHost", apiHost);
}
// @RequestMapping(
// name = "결과[통보] 처리",
// value = {"/dsuseMgtRslt.do"}
// )
// public ModelAndView dsuseMgtRsltForm() {
// ModelAndView mav = new ModelAndView();
// mav.setViewName("adds/nims/dsuseMgtRslt-main");
// return mav.addObject("apiHost", apiHost);
// }
}

@ -139,7 +139,8 @@
**************************************************************************/
$P.control = new DatasetControl({
urls : {
load : wctx.url("/adds/nims/dsuseMgtReceipt-list.do")
// load : wctx.url("/adds/nims/dsuseMgtReceipt-list.do")
load : '<c:url value="${apiHost}/api/biz/nims/v1/getDsuseMgts" />'
}
, prefix: "dsuseMgtReceipt"
, prefixName: "신청서접수"

@ -22,7 +22,7 @@
let dsuseMgtRslt =
{
dscdmngId: "2024050001",
userId: "api-user",
userId: "suji",
prgrsSttsCd: "06",
hdrDe: "20240506",
rptDe: "20240506",

Loading…
Cancel
Save