select박스 동적 처리 수정

jiHyung 2022-11-03 12:40:09 +09:00
parent fe7da0d847
commit afc7d21f0c
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
<select class="form-select form-select-sm" name="department">
<option value="">선택</option>
<th:block th:each="organConfig:${organConfigList}">
<th:block th:if="${organConfig.parentOrgan ne null && organConfig.organType ne 'OGC002'}">
<th:block th:if="${organConfig.parentOrgan ne null && organConfig.organType ne 'OGC002' && organConfig.parentOrgan eq internationalCrimeArrest.organ}">
<option th:value="${organConfig.organCd}" th:text="${organConfig.organNm}" th:selected="${organConfig.organCd eq internationalCrimeArrest.department}"></option>
</th:block>
</th:block>