浏览代码

Merge branch 'wanjing' into develop

tags/v1.0.0^2
wanjing 1年前
父节点
当前提交
bfd3e25722
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/dept/update/UpdateDeptService.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/dept/update/UpdateDeptService.java 查看文件

@@ -163,7 +163,7 @@ public class UpdateDeptService {
* @return
*/
private JsonResult updateDept(String tenantId, EditDeptRequest oldEditDeptRequest, EditDeptRequest newEditDeptRequest) {
if (oldEditDeptRequest.getName().equals(newEditDeptRequest.getName())) {
if (!oldEditDeptRequest.getName().equals(newEditDeptRequest.getName())) {
Dept dept = new Dept();
dept.setId(newEditDeptRequest.getId());
dept.setTenantId(tenantId);

正在加载...
取消
保存