직책 수정 오류 수정.

주간사건처리현황 분류 오류 수정.
master
강석 최 2023-01-31 10:03:06 +09:00
parent f23ed0e444
commit 2fcc444b35
2 changed files with 5 additions and 2 deletions

View File

@ -111,6 +111,9 @@ public class UserInfoService implements UserDetailsService {
if(!ObjectUtils.isEmpty(userInfo.getUserStatus())){ if(!ObjectUtils.isEmpty(userInfo.getUserStatus())){
savedInfo.setUserStatus(userInfo.getUserStatus()); savedInfo.setUserStatus(userInfo.getUserStatus());
} }
if(!ObjectUtils.isEmpty(userInfo.getDutyCd())){
savedInfo.setDutyCd(userInfo.getDutyCd());
}
userInfoRepository.save(savedInfo); userInfoRepository.save(savedInfo);
saveUserInfoHistory(savedInfo, loginUser); saveUserInfoHistory(savedInfo, loginUser);
} }

View File

@ -31,8 +31,8 @@
<div class="col-sm-2"> <div class="col-sm-2">
<select class="form-select form-select-sm" id="majorType" name="majorType"> <select class="form-select form-select-sm" id="majorType" name="majorType">
<option value="">선택해주세요.</option> <option value="">선택해주세요.</option>
<th:block th:each="commonCode:${session.commonCode.get('MST')}"> <th:block th:each="code:${session.commonCode.get('MST')}">
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}" th:selected="${commonCode.itemCd eq majorStatus.majorType}"></option> <option th:if="${code.useChk eq 'T'}" th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq majorStatus.majorType}"></option>
</th:block> </th:block>
</select> </select>
</div> </div>