Pārlūkot izejas kodu

Merge branch 'wanjing' into develop

tags/v1.0.0^2
wanjing pirms 1 gada
vecāks
revīzija
bfd3e25722
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 Parādīt failu

@@ -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);

Notiek ielāde…
Atcelt
Saglabāt