kongdeqiang
2023-02-10 93a3a1de1d52c014368a1200139fa46969a80c66
增加功能
1个文件已修改
5 ■■■■■ 已修改文件
xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/CustomerController.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/CustomerController.java
@@ -43,6 +43,11 @@
        wrapper.eq("customer_id",id);
        wrapper.eq("status",1);
        List<CustomerReceive> list = iCustomerReceiveService.list(wrapper);
        for (CustomerReceive customerReceive : list) {
            if(StrUtil.isBlank(customerReceive.getPhone())){
                customerReceive.setPhone(" ");
            }
        }
        customer.setReceives(list);
        return new ResultUtil<Customer>().setData(customer);
    }