wjli
2024-04-10 81af4cff627b7ec1e125b90f4fd57392c6d70588
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);
    }
@@ -56,7 +61,7 @@
    }
    @RequestMapping(value = "/getByPage", method = RequestMethod.GET)
    @ApiOperation(value = "")
    @ApiOperation(value = "分页获取数据")
    public Result<IPage<Customer>> getByPage(String areaSectionId,String customerName,PageVo page) {
        QueryWrapper<Customer> wrapper = new QueryWrapper<>();
        if (!StrUtil.isEmpty(areaSectionId))