조회조건 추가(발송목적)

main
이범준 1 year ago
parent 342671af26
commit fa8159161c

@ -1,9 +1,16 @@
package cokr.xit.fims.mngt.web;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.code.CommonCode;
import cokr.xit.base.code.service.CodeService;
import cokr.xit.interfaces.message.MessageQuery;
import cokr.xit.interfaces.message.web.MessageController;
@ -20,6 +27,9 @@ public class Mngt03Controller extends MessageController {
;
}
@Resource(name="codeService")
private CodeService codeService;
@RequestMapping(name="문자전송 현황 메인", value=METHOD_URL.main)
public ModelAndView main() {
ModelAndView mav = new ModelAndView();
@ -27,6 +37,9 @@ public class Mngt03Controller extends MessageController {
mav.setViewName("fims/mngt/mngt03010-main");
mav.addObject("pageName", "mngt03010");
Map<String, List<CommonCode>> commonCodes = codeService.getCodesOf("MSG006");
mav.addObject("MSG006List", commonCodes.get("MSG006"));
return mav;
}

Loading…
Cancel
Save