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)));