[修正] 機能改修【組織の階層構造導入】の実装のリファクタリングの不備の修正

This commit is contained in:
o-yamamoto
2026-09-30 09:17:09 +09:00
parent e7b3b42feb
commit 7499f64fc9
2 changed files with 3 additions and 4 deletions

View File

@@ -97,7 +97,6 @@ public class UpdateEmployeeController {
return "forward:" + TransitionTargetPageNameKeyword.SELECT_EMPLOYEE_INFO; return "forward:" + TransitionTargetPageNameKeyword.SELECT_EMPLOYEE_INFO;
} }
//idDivisionからidHeadquartersを調べてUpdateEmployeeInfoFormに入れる //idDivisionからidHeadquartersを調べてUpdateEmployeeInfoFormに入れる
System.out.println("A");
UpdateEmployeeInfoForm updateInfo = UpdateEmployeeInfoForm.convertFrom(employeeInfoList.get(0)); UpdateEmployeeInfoForm updateInfo = UpdateEmployeeInfoForm.convertFrom(employeeInfoList.get(0));
SearchConditionDepartment beforeUpdate = new SearchConditionDepartment( SearchConditionDepartment beforeUpdate = new SearchConditionDepartment(
updateInfo.getIdDivision(), updateInfo.getIdDivision(),

View File

@@ -111,7 +111,7 @@
<td> <td>
<label> <label>
<select id="headquartersSelect" required="required" th:field="*{idHeadquarters}"> <select id="headquartersSelect" th:field="*{idHeadquarters}">
<option value="">本部を選択</option> <option value="">本部を選択</option>
<option th:each="headquarters : ${departmentFormList}" th:utext=" <option th:each="headquarters : ${departmentFormList}" th:utext="
${headquarters.nmHeadquarters}" th:value="${headquarters.idHeadquarters}"> ${headquarters.nmHeadquarters}" th:value="${headquarters.idHeadquarters}">
@@ -125,7 +125,7 @@
<th class="header">所属部</th> <th class="header">所属部</th>
<td> <td>
<label> <label>
<select id="departmentSelect" required="required"> <select id="departmentSelect" >
<option value="">先に本部を選択してください</option> <option value="">先に本部を選択してください</option>
</select> </select>
@@ -138,7 +138,7 @@
<td> <td>
<label> <label>
<select id="divisionSelect" required="required" th:field="*{idDivision}"> <select id="divisionSelect" th:field="*{idDivision}">
<option value="">先に部を選択してください</option> <option value="">先に部を選択してください</option>
</select> </select>
</label> </label>