From ca5fa5667cdf9b665f644d91f1990c72b4bedc57 Mon Sep 17 00:00:00 2001 From: river <1376754470@qq.com> Date: Sat, 10 Oct 2020 11:43:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AE=A2=E6=88=B7=E5=90=8E?= =?UTF-8?q?=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../financial/crms/service/impl/CustomerServiceImpl.java | 4 ++-- .../com/daqing/financial/hrms/controller/DeptController.java | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) 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);