메뉴별 메인화면에서 시군구에서 사용하는 업무구분코드만 표시되도록 수정

main
이범준 11 months ago
parent ffd77be73a
commit 9cbba3d17d

@ -20,6 +20,7 @@ import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.CrdnInfoMapper;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
@ -59,6 +60,9 @@ public class Crdn02Controller extends ApplicationController {
@Resource(name="userMapper")
protected UserMapper userMapper;
@Resource(name = "stngBean")
private StngBean stngBean;
/** .
* @return fims/crdn/crdn02010-main
*/
@ -73,6 +77,7 @@ public class Crdn02Controller extends ApplicationController {
mav.addObject("FIM003List", commonCodes.get("FIM003"));
mav.addObject("FIM010List", commonCodes.get("FIM010"));
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
addCodes(commonCodes, mav, "FIM002", "FIM003", "FIM010", "FIM026");
return mav;

@ -26,6 +26,7 @@ import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.cmmn.ftp.FTPUtil;
import cokr.xit.fims.cmmn.ftp.RemoteSystemInfo;
import cokr.xit.fims.cmmn.service.bean.FactionBean;
import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.CrdnInstMapper;
@ -92,6 +93,9 @@ public class Crdn05Controller extends ApplicationController {
@Resource(name="factionBean")
protected FactionBean factionBean;
@Resource(name = "stngBean")
private StngBean stngBean;
/** .
* @return fims/crdn/crdn05010-main
*/
@ -102,6 +106,7 @@ public class Crdn05Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM003", "FIM026", "FIM054");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
addCodes(commonCodes, mav, "FIM003", "FIM026");
return mav;
}
@ -137,6 +142,7 @@ public class Crdn05Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
return mav;
}

@ -19,6 +19,7 @@ import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
@ -58,6 +59,9 @@ public class Crdn06Controller extends ApplicationController {
@Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper;
@Resource(name = "stngBean")
private StngBean stngBean;
/** .
* @return fims/crdn/crdn06010-main
*/
@ -72,6 +76,7 @@ public class Crdn06Controller extends ApplicationController {
mav.addObject("FIM005List", commonCodes.get("FIM005"));
mav.addObject("FIM010List", commonCodes.get("FIM010"));
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
addCodes(commonCodes, mav, "FIM002", "FIM003", "FIM010", "FIM022", "FIM026", "FIM034");
return mav;
}

@ -11,6 +11,7 @@ import cokr.xit.base.code.CommonCode;
import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.Team;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
@ -44,6 +45,9 @@ public class Crdn07Controller extends ApplicationController {
@Resource(name="userMapper")
protected UserMapper userMapper;
@Resource(name = "stngBean")
private StngBean stngBean;
/** .
* @return fims/crdn/crdn07010-main
*/
@ -54,6 +58,7 @@ public class Crdn07Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054","FIM071","FIM002");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
mav.addObject("FIM071List", commonCodes.get("FIM071"));
mav.addObject("FIM002List", commonCodes.get("FIM002"));
addCodes(commonCodes, mav, "FIM054");

@ -26,6 +26,7 @@ import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.Crdn;
import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
@ -69,6 +70,9 @@ public class Cvlc01Controller extends ApplicationController {
@Resource(name="crdnCvlcptService")
private CrdnCvlcptService crdnCvlcptService;
@Resource(name = "stngBean")
private StngBean stngBean;
/** .
* @return fims/cvlc/cvlc01010-main
*/
@ -79,6 +83,7 @@ public class Cvlc01Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM026","FIM054");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
addCodes(commonCodes, mav, "FIM026");
mav.addObject("currentUserName", UserInfo.current().getName());

@ -21,6 +21,7 @@ import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.service.CrdnService;
@ -59,6 +60,9 @@ public class Cvlc02Controller extends ApplicationController {
@Resource(name="userMapper")
protected UserMapper userMapper;
@Resource(name = "stngBean")
private StngBean stngBean;
/** .
* @return fims/cvlc/cvlc02010-main
*/
@ -70,6 +74,7 @@ public class Cvlc02Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM017","FIM022", "FIM026", "FIM054");
mav.addObject("FIM017List", commonCodes.get("FIM017"));
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
addCodes(commonCodes, mav, "FIM022");
addCodes(commonCodes, mav, "FIM026");
return mav;

@ -20,6 +20,7 @@ import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.CmmnUtil;
import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.service.CrdnService;
@ -53,6 +54,9 @@ public class Cvlc03Controller extends ApplicationController {
@Resource(name="userMapper")
protected UserMapper userMapper;
@Resource(name = "stngBean")
private StngBean stngBean;
/** .
* @return fims/cvlc/cvlc03010-main
*/
@ -63,6 +67,7 @@ public class Cvlc03Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM022","FIM026", "FIM054");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
addCodes(commonCodes, mav, "FIM022", "FIM026");
return mav;
}

@ -11,6 +11,7 @@ import cokr.xit.base.code.CommonCode;
import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.crdn.service.CrdnService;
@ -46,6 +47,9 @@ public class Cvlc04Controller extends ApplicationController {
@Resource(name="userMapper")
private UserMapper userMapper;
@Resource(name = "stngBean")
private StngBean stngBean;
/** .
* @return fims/cvlc/cvlc04010-main
*/
@ -56,6 +60,7 @@ public class Cvlc04Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054","FIM063");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
addCodes(commonCodes, mav, "FIM063");
return mav;
}

@ -12,6 +12,7 @@ import cokr.xit.base.code.CommonCode;
import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.cvlc.CrdnCvlcpt;
@ -45,6 +46,9 @@ public class Cvlc05Controller extends ApplicationController {
@Resource(name="userMapper")
private UserMapper userMapper;
@Resource(name = "stngBean")
private StngBean stngBean;
/** .
* @return fims/cvlc/cvlc05010-main
*/
@ -60,6 +64,7 @@ public class Cvlc05Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
return mav;
}

@ -11,6 +11,7 @@ import cokr.xit.base.code.CommonCode;
import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.CrdnQuery;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.cvlc.CrdnCvlcpt;
@ -35,6 +36,9 @@ public class Cvlc06Controller extends ApplicationController {
@Resource(name="crdnCvlcptService")
private CrdnCvlcptService crdnCvlcptService;
@Resource(name = "stngBean")
private StngBean stngBean;
@Resource(name="globalStngMapper")
private GlobalStngMapper globalStngMapper;
@ -52,7 +56,7 @@ public class Cvlc06Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
return mav;
}

@ -10,6 +10,7 @@ import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.code.CommonCode;
import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.levy.LevyQuery;
import cokr.xit.fims.levy.Rduct;
import cokr.xit.fims.levy.service.RductService;
@ -45,6 +46,9 @@ public class Levy02Controller extends ApplicationController {
@Resource(name = "rductService")
private RductService rductService;
@Resource(name = "stngBean")
private StngBean stngBean;
/** (levy/levy02010-main) .
* {@link #getRductList(RductQuery) } .
* @return /rduct/rduct-main
@ -75,6 +79,7 @@ public class Levy02Controller extends ApplicationController {
// View(jsp)에서 사용할 공통코드를 조회
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM010", "FIM019", "FIM054");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
addCodes(commonCodes, mav, "FIM010", "FIM019");
return mav.addObject("rductList", toJson(mav.getModel().get("rductList")));

@ -578,6 +578,7 @@ public class Sprt01Controller extends ApplicationController {
mav.addObject("FIM047List", commonCodes.get("FIM047"));
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
mav.addObject("FIM078List", commonCodes.get("FIM078"));
mav.addObject("FIM080List", commonCodes.get("FIM080"));
addCodes(commonCodes, mav, "FIM047", "FIM054", "FIM078","FIM080");

@ -13,6 +13,7 @@ import cokr.xit.base.code.CommonCode;
import cokr.xit.base.user.ManagedUser;
import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.base.web.ApplicationController;
import cokr.xit.fims.cmmn.service.bean.StngBean;
import cokr.xit.fims.crdn.dao.GlobalStngMapper;
import cokr.xit.fims.stat.CodeSubsetInfo;
import cokr.xit.fims.stat.GroupInfo;
@ -54,6 +55,9 @@ public class Stat01Controller extends ApplicationController {
@Resource(name="statMapper")
protected StatMapper statMapper;
@Resource(name = "stngBean")
private StngBean stngBean;
/**
* @return
*/
@ -153,6 +157,7 @@ public class Stat01Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054","FIM002");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
mav.addObject("FIM002List", commonCodes.get("FIM002"));
return mav;
@ -177,6 +182,7 @@ public class Stat01Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054","FIM002");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
mav.addObject("FIM002List", commonCodes.get("FIM002"));
return mav;
@ -202,6 +208,7 @@ public class Stat01Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
return mav;
}
@ -225,6 +232,7 @@ public class Stat01Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
return mav;
}
@ -248,6 +256,7 @@ public class Stat01Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054","FIM002");
mav.addObject("FIM054List", commonCodes.get("FIM054"));
mav.addObject("TaskListForSgg", stngBean.filterTaskSectionCodeForSgg(commonCodes.get("FIM054")));
mav.addObject("FIM002List", commonCodes.get("FIM002"));
return mav;

@ -31,7 +31,7 @@
<div class="col-6">
<label class="form-label fw-bold form-search-title">업무구분</label>
<span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item">
<c:forEach items="${TaskListForSgg}" var="item">
<label>
<input name="taskSeCd" type="radio" value="${item.code}"
class="form-check-input" alt="업무구분"

@ -20,7 +20,7 @@
<div class="col-6">
<label class="form-label fw-bold form-search-title">업무구분</label>
<span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item">
<c:forEach items="${TaskListForSgg}" var="item">
<label>
<input name="taskSeCd" type="radio" value="${item.code}"
class="form-check-input" alt="업무구분"

@ -18,7 +18,7 @@
<label for="taskSeCd--${pageName}"
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">과태료업무</label>
<select id="taskSeCd--${pageName}" name="taskSeCd" class="form-select" disabled>
<c:forEach items="${FIM054List}" var="item">
<c:forEach items="${TaskListForSgg}" var="item">
<option value="${item.code}"
<c:if test="${item.code eq taskSeCd}"> selected="selected" </c:if>
>${item.value}</option>

@ -25,7 +25,7 @@
<div class="col-6">
<label class="form-label fw-bold form-search-title">업무구분</label>
<span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item">
<c:forEach items="${TaskListForSgg}" var="item">
<label>
<input name="taskSeCd" type="radio" value="${item.code}"
class="form-check-input" alt="업무구분"

@ -25,7 +25,7 @@
<div class="col-6">
<label class="form-label fw-bold form-search-title">업무구분</label>
<span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item">
<c:forEach items="${TaskListForSgg}" var="item">
<label>
<input name="taskSeCd" type="radio" value="${item.code}"
class="form-check-input" alt="업무구분"

@ -25,7 +25,7 @@
<div class="col-6">
<label class="form-label fw-bold form-search-title">업무구분</label>
<span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item">
<c:forEach items="${TaskListForSgg}" var="item">
<label>
<input name="taskSeCd" type="radio" value="${item.code}"
class="form-check-input" alt="업무구분"

@ -25,7 +25,7 @@
<div class="col-6">
<label class="form-label fw-bold form-search-title">업무구분</label>
<span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item">
<c:forEach items="${TaskListForSgg}" var="item">
<label>
<input name="taskSeCd" type="radio" value="${item.code}"
class="form-check-input" alt="업무구분"

@ -22,7 +22,7 @@
<div class="col-6">
<label class="form-label fw-bold form-search-title">업무구분</label>
<span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item">
<c:forEach items="${TaskListForSgg}" var="item">
<label>
<input name="taskSeCd" type="radio" value="${item.code}"
class="form-check-input" alt="업무구분"

@ -11,7 +11,7 @@
<div class="col-12">
<label class="form-label fw-bold form-search-title">업무구분</label>
<span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item">
<c:forEach items="${TaskListForSgg}" var="item">
<label>
<input name="taskSeCd" type="radio" value="${item.code}"
class="form-check-input" alt="업무구분"

@ -11,7 +11,7 @@
<div class="col-12">
<label class="form-label fw-bold form-search-title">업무구분</label>
<span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item">
<c:forEach items="${TaskListForSgg}" var="item">
<label>
<input name="taskSeCd" type="radio" value="${item.code}"
class="form-check-input" alt="업무구분"

@ -22,7 +22,7 @@
<div class="col-6">
<label class="form-label fw-bold form-search-title">업무구분</label>
<span class="form-search-linebox">
<c:forEach items="${FIM054List}" var="item">
<c:forEach items="${TaskListForSgg}" var="item">
<label>
<input name="taskSeCd" type="radio" value="${item.code}"
class="form-check-input" alt="업무구분"

@ -12,7 +12,7 @@
<input type="hidden" name="sggCd" />
업무
<select class="form-select" name="taskSeCd">
<c:forEach items="${FIM054List}" var="item">
<c:forEach items="${TaskListForSgg}" var="item">
<option value="${item.code}">${item.value}</option>
</c:forEach>
</select>

@ -35,7 +35,7 @@
value="" onchange="" checked="checked">
전체
</label>
<c:forEach items="${FIM054List}" var="item">
<c:forEach items="${TaskListForSgg}" var="item">
<label>
<input type="radio" class="form-check-input" name="taskSeCd" alt="업무구분"
value="${item.code}" onchange="">

Loading…
Cancel
Save