Compare commits
2 Commits
d707770dac
...
103354947b
Author | SHA1 | Date |
---|---|---|
tangqian | 103354947b | |
tangqian | ab863e67e1 |
|
@ -172,10 +172,13 @@ public class TenantServiceImpl implements TenantService {
|
|||
}
|
||||
// 同步修改部门信息
|
||||
DeptUpdateReqVO reqVO = new DeptUpdateReqVO();
|
||||
DeptDO dept = deptService.getDept(updateReqVO.getId());
|
||||
reqVO.setName(updateReqVO.getName());
|
||||
reqVO.setId(dept.getId());
|
||||
deptService.updateDept(reqVO);
|
||||
DeptDO dept = deptService.getDept(updateObj.getId());
|
||||
if (null != dept) {
|
||||
reqVO.setName(updateObj.getName());
|
||||
reqVO.setId(dept.getId());
|
||||
deptService.updateDept(reqVO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue