mirror of https://gitee.com/stylefeng/roses
【7.0.4】修改查询c端用户接口
parent
0ec3dad7fa
commit
6f10b330fa
|
@ -282,7 +282,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> i
|
||||||
// 获取C端用户详情
|
// 获取C端用户详情
|
||||||
Customer customer = this.getById(customerId);
|
Customer customer = this.getById(customerId);
|
||||||
if (customer == null) {
|
if (customer == null) {
|
||||||
throw new CustomerException(CustomerExceptionEnum.CANT_FIND_CUSTOMER, customerId);
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
CustomerInfo result = new CustomerInfo();
|
CustomerInfo result = new CustomerInfo();
|
||||||
|
|
Loading…
Reference in New Issue