From 81af4cff627b7ec1e125b90f4fd57392c6d70588 Mon Sep 17 00:00:00 2001
From: wjli <591616088@qq.com>
Date: 星期三, 10 四月 2024 11:28:03 +0800
Subject: [PATCH] 修改签收出错bug

---
 xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/CustomerController.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/CustomerController.java b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/CustomerController.java
index e2a6718..d8a0aa8 100644
--- a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/CustomerController.java
+++ b/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))

--
Gitblit v1.9.1