사용자관리 메인화면 접속구분(행정망,인터넷망) 검색조건 추가

main
이범준 4 months ago
parent 6907774c34
commit b1ec36b9f5

@ -47,6 +47,8 @@ public class UserController extends cokr.xit.base.user.web.UserController<FimsUs
@Override
public ModelAndView main() {
ModelAndView mav = super.main();
Map<String, List<CommonCode>> commonCodes = codeService.getCodesOf("CMN009");
mav.addObject("CMN009List", commonCodes.get("CMN009"));
return mav;
}

@ -90,8 +90,15 @@ SELECT A.USER_ID
</otherwise>
</choose>
</if>
<if test="userIDs != null">USER_ID IN (<foreach collection="userIDs" item="userID" separator=",">#{userID}</foreach>)</if>
<if test="@org.egovframe.rte.fdl.string.EgovStringUtil@null2void(status) != ''">AND STTS = #{status}</if>
<if test="userIDs != null">
USER_ID IN (<foreach collection="userIDs" item="userID" separator=",">#{userID}</foreach>)
</if>
<if test="@org.egovframe.rte.fdl.string.EgovStringUtil@null2void(status) != ''">
AND STTS = #{status}
</if>
<if test="@org.egovframe.rte.fdl.string.EgovStringUtil@null2void(type) != ''">
AND CNTN_SE_CD = #{type}
</if>
</where>
<include refid="utility.orderBy" />
<include refid="utility.paging-suffix" />

@ -73,8 +73,10 @@
</ul>
<div class="tab-content" style="padding:.6em 0;" id="${infoPrefix}RightInclude">
<div class="tab-pane fade show active" id="navs-top-users" role="tabpanel">
<div class="ox-scroll">
<jsp:include page="user-list.jsp" />
</div>
</div>
<div class="tab-pane fade" id="navs-top-actions" role="tabpanel">
<jsp:include page="actionGroup-list.jsp" />
</div>

@ -8,7 +8,8 @@
</div>
<table class="datatables-ajax table table-bordered dataTable no-footer" id="DataTables_Table_0" aria-describedby="DataTables_Table_0_info">
<thead>
<tr><th tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="text-align:center;"><input id="authUserToggler" onchange="${infoPrefix}Control.users.select(this.checked);" type="checkbox" class="form-check-input"></th>
<tr>
<th tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" style="text-align:center;"><input id="authUserToggler" onchange="${infoPrefix}Control.users.select(this.checked);" type="checkbox" class="form-check-input"></th>
<th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="Email: activate to sort column ascending">시군구명</th>
<th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="Email: activate to sort column ascending" >기관명</th>
<th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="Email: activate to sort column ascending" >부서명</th>

@ -6,8 +6,8 @@
<div id="DataTables_Table_0_wrapper" class="dataTables_wrapper dt-bootstrap5 no-footer">
<div class="d-flex flex-row justify-content-between p-3">
<div class="d-flex" id="${infoPrefix}-query">
<div class="input-group me-3">
<div class="d-flex flex-grow-1 me-5" id="${infoPrefix}-query">
<div class="input-group me-3 w-px-400">
<select id="${infoPrefix}by" name="by" onchange="document.getElementById('${infoPrefix}term').focus();" aria-controls="DataTables_Table_0" class="form-select">
<option value="${infoPrefix}Name">이름</option>
<option value="${infoPrefix}Account">계정</option>
@ -15,13 +15,20 @@
<input id="${infoPrefix}term" name="term" autofocus type="text" placeholder="조회 조건을 입력하십시오." class="form-control">
</div>
<label for="${infoPrefix}status" class="form-label fw-bold w-px-120 d-flex flex-wrap align-content-center justify-content-center">상태</label>
<label for="${infoPrefix}status" class="form-label fw-bold px-3 d-flex flex-wrap align-content-center justify-content-center">상태</label>
<select id="${infoPrefix}status" name="status" class="form-select">
<option value="">전체</option>
<option value="A">신청</option>
<option value="P">승인</option>
<option value="D">삭제</option>
</select>
<label for="${infoPrefix}type" class="form-label fw-bold px-3 d-flex flex-wrap align-content-center justify-content-center">접속구분</label>
<select id="${infoPrefix}type" name="type" class="form-select">
<option value="">전체</option>
<c:forEach items="${CMN009List}" var="item">
<option value="${item.code}">${item.value}</option>
</c:forEach>
</select>
</div>
<div>
<button onclick="search${infoPrefix}s();" class="btn btn-primary">찾기</button>
@ -83,7 +90,8 @@ function search${infoPrefix}s() {
${infoPrefix}Control.query = {
by: $("#${infoPrefix}-query [name='by']").val(),
term: $("#${infoPrefix}-query [name='term']").val(),
status: $("#${infoPrefix}-query [name='status']").val()
status: $("#${infoPrefix}-query [name='status']").val(),
type: $("#${infoPrefix}-query [name='type']").val(),
};
if(${infoPrefix}Control.query.by == "userAccount"){

Loading…
Cancel
Save