mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-07-24 02:09:35 +08:00
fixed: 部门编辑
This commit is contained in:
parent
0d63b433ce
commit
80792a2d52
@ -71,10 +71,7 @@ public class DepartmentServiceImpl extends ServiceImpl<DepartmentMapper, Departm
|
||||
|
||||
Department data = new Department();
|
||||
data.setId(department.getId());
|
||||
|
||||
if (!department.getName().equals(name)) {//更换部门名称
|
||||
data.setName(name);
|
||||
}
|
||||
data.setName(name);
|
||||
|
||||
if (!department.getParentId().equals(parentId)) {
|
||||
data.setParentId(parentId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user