委托方导入修改

This commit is contained in:
秦鸿展
2026-07-22 14:31:15 +08:00
parent 8a78122fcb
commit e7f2a79dee
@@ -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)));