management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TBranchOfficeController.java
@@ -273,6 +273,7 @@ if(Objects.nonNull(o)){ return o; } tBranchOffice.setPrincipal(tBranchOffice.getPrincipal().replace(" ","")); tBranchOffice.setStatus(StatusEnum.NORMAL.getCode()); tBranchOfficeService.insert(tBranchOffice); @@ -308,6 +309,7 @@ if(Objects.nonNull(o)){ return o; } tBranchOffice.setPrincipal(tBranchOffice.getPrincipal().replace(" ","")); tBranchOfficeService.updateById(tBranchOffice); return SUCCESS_TIP; }