fix: 보고문서 검색 조건 fix

dev
Jonguk. Lim 5 months ago
parent 28da3003bf
commit 1455db3210

@ -317,6 +317,16 @@ public class AddsNimsController extends ApplicationController {
ModelAndView mav = new ModelAndView(); ModelAndView mav = new ModelAndView();
mav.setViewName("adds/nims/dsuseDoc-main"); mav.setViewName("adds/nims/dsuseDoc-main");
setCmmCode("ADDS11", mav); setCmmCode("ADDS11", mav);
Map<String, List<CommonCode>> commonCodes = getCodesOf("ADDS11");
mav.addObject(
"ADDS11",
getCodesOf("ADDS11")
.get("ADDS11")
.stream()
.filter(c -> c.getCode().compareTo("06") >= 0)
.toList());
List<DataObject> deptList = defaultOgdpBean.getDeptList(new OgdpQuery()); List<DataObject> deptList = defaultOgdpBean.getDeptList(new OgdpQuery());
mav.addObject("DEPTList", deptList); mav.addObject("DEPTList", deptList);

@ -44,7 +44,6 @@
<div class="col-6"> <div class="col-6">
<label class="form-label fw-bold form-search-title text-end" for="schSttsCd--${pageName}">처리상태</label> <label class="form-label fw-bold form-search-title text-end" for="schSttsCd--${pageName}">처리상태</label>
<select class="form-select" id="schSttsCd--${pageName}" name="schSttsCd"> <select class="form-select" id="schSttsCd--${pageName}" name="schSttsCd">
<option value="">전체</option>
<c:forEach items="${ADDS11}" var="item"> <c:forEach items="${ADDS11}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
</c:forEach> </c:forEach>

Loading…
Cancel
Save