优化客户后台

master
river 4 years ago
parent 5075e01b19
commit ca5fa5667c
  1. 4
      dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java
  2. 2
      dq-financial-hrms/src/main/java/com/daqing/financial/hrms/controller/DeptController.java

@ -344,7 +344,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerDao, CustomerEntity
}
}
if (customerPersonalTOI.getManager() == null){
ExceptionCast.cast(CrmsCode.CUSTOMER_IS_NULL);
return new ResponseResult<String>().SUCCESS("导入数据失败,员工"+manager.getManager()+"不存在");
}
}
this.saveCustomerPersonal(customerPersonalTOI);
@ -364,7 +364,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerDao, CustomerEntity
}
}
if (customerCompanyTOI.getManager() == null){
return new ResponseResult<String>().SUCCESS("导入数据失败,"+manager.getManager()+"员工不存在");
return new ResponseResult<String>().SUCCESS("导入数据失败,员工"+manager.getManager()+"不存在");
}
}
this.saveCustomerCompany(customerCompanyTOI);

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

Loading…
Cancel
Save