修改root部门时sql会报错, 原因是edit页面没把ancestors传回来
This commit is contained in:
parent
27277b51d7
commit
4b1f43bb29
|
|
@ -7,6 +7,7 @@
|
|||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||
<form class="form-horizontal m" id="form-dept-edit" th:object="${dept}">
|
||||
<input name="deptId" type="hidden" th:field="*{deptId}" />
|
||||
<input name="ancestors" type="hidden" th:field="*{ancestors}" />
|
||||
<input id="treeId" name="parentId" type="hidden" th:field="*{parentId}" />
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">上级部门:</label>
|
||||
|
|
|
|||
Loading…
Reference in New Issue