diff --git a/aircraft-system/src/main/java/com/aircraft/modules/system/controller/CnCustomerController.java b/aircraft-system/src/main/java/com/aircraft/modules/system/controller/CnCustomerController.java index 2308704..a3898ad 100644 --- a/aircraft-system/src/main/java/com/aircraft/modules/system/controller/CnCustomerController.java +++ b/aircraft-system/src/main/java/com/aircraft/modules/system/controller/CnCustomerController.java @@ -100,6 +100,7 @@ public class CnCustomerController { if (null == entity.getId()) { throw new RuntimeException("id不能为空"); } + entity.setPassword(null); entityService.updateById(entity); return new ResponseEntity<>("成功修改客户", HttpStatus.OK); } catch (Exception e) { diff --git a/aircraft-system/src/main/java/com/aircraft/modules/system/service/impl/EmEmployeesServiceImpl.java b/aircraft-system/src/main/java/com/aircraft/modules/system/service/impl/EmEmployeesServiceImpl.java index e1897e3..26cbb7e 100644 --- a/aircraft-system/src/main/java/com/aircraft/modules/system/service/impl/EmEmployeesServiceImpl.java +++ b/aircraft-system/src/main/java/com/aircraft/modules/system/service/impl/EmEmployeesServiceImpl.java @@ -119,6 +119,7 @@ public class EmEmployeesServiceImpl extends ServiceImpl