From e7f2a79dee27fffddb337bbb7feb7446258429ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E9=B8=BF=E5=B1=95?= <18031053041@163.com> Date: Wed, 22 Jul 2026 14:31:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A7=94=E6=89=98=E6=96=B9=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/UserShipperApplicationService.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mhd-user-center/src/main/java/com/mhd/user/application/service/UserShipperApplicationService.java b/mhd-user-center/src/main/java/com/mhd/user/application/service/UserShipperApplicationService.java index 90127b5f2..5da950d49 100644 --- a/mhd-user-center/src/main/java/com/mhd/user/application/service/UserShipperApplicationService.java +++ b/mhd-user-center/src/main/java/com/mhd/user/application/service/UserShipperApplicationService.java @@ -385,9 +385,13 @@ public class UserShipperApplicationService { shipperDO.setDataSource(2); shipperDO.setUserAccount(userAccount); shipperDO.setShipperEnterpriseName(companyName); - // 联系人 -> user表 user_name,联系电话 -> user表 user_phone - shipperDO.setUserName(getCellStr(row.getCell(2))); - shipperDO.setUserPhone(getCellStr(row.getCell(3))); + String contactName = getCellStr(row.getCell(2)); + String contactPhone = getCellStr(row.getCell(3)); + // 联系人 -> user表 user_name + user_shipper表 user_name_shipper + shipperDO.setUserName(contactName); + shipperDO.setUserNameShipper(contactName); + // 联系电话 -> user表 user_phone + shipperDO.setUserPhone(contactPhone); // 地址 -> user表 user_area_name,详细地址 -> user表 user_area_address shipperDO.setUserAreaName(getCellStr(row.getCell(4))); shipperDO.setUserAreaAddress(getCellStr(row.getCell(5)));