diff --git a/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java b/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java index b071dcd1..c0a7d736 100644 --- a/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java +++ b/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java @@ -344,7 +344,7 @@ public class CustomerServiceImpl extends ServiceImpl().SUCCESS("导入数据失败,员工"+manager.getManager()+"不存在"); } } this.saveCustomerPersonal(customerPersonalTOI); @@ -364,7 +364,7 @@ public class CustomerServiceImpl extends ServiceImpl().SUCCESS("导入数据失败,"+manager.getManager()+"员工不存在"); + return new ResponseResult().SUCCESS("导入数据失败,员工"+manager.getManager()+"不存在"); } } this.saveCustomerCompany(customerCompanyTOI); diff --git a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/DeptController.java b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/DeptController.java index 4561f4be..f6fcee9f 100644 --- a/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/DeptController.java +++ b/dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/DeptController.java @@ -23,7 +23,6 @@ import java.util.List; */ @RestController @RequestMapping("hrms/dept") -@Api(tags = {"测试swagger"}) public class DeptController implements DeptControllerApi { @Autowired @@ -37,7 +36,6 @@ public class DeptController implements DeptControllerApi { */ @Override @PostMapping("/save") - @ApiOperation(value = "111") //@RequiresPermissions("hrms:dept:save") public ResponseResult save(@RequestBody DeptAddRequest deptAddRequest) { boolean result = deptService.saveDept(deptAddRequest);