tao.mo

biz-customer | 修改 | 运单提交逻辑调整

mt
2024年12月25日15:03:30
...@@ -79,16 +79,19 @@ public class ConsignmentUtil { ...@@ -79,16 +79,19 @@ public class ConsignmentUtil {
79 consignment.setCreateTime(nowDate); 79 consignment.setCreateTime(nowDate);
80 consignment.setCreateUserName(user.getUserName()); 80 consignment.setCreateUserName(user.getUserName());
81 consignment.setCreateUserId(user.getId()); 81 consignment.setCreateUserId(user.getId());
82 - //用户录入数据拷贝 82 + }
83 - BeanUtils.copyProperties(consignmentBo, consignment); 83 + //运单号
84 - }else { 84 + consignment.setConsignmentCode(consignmentBo.getConsignmentCode());
85 + //目的国全称
86 + consignment.setDestinationCountry(consignmentBo.getDestinationCountry());
87 + //目的国编码
88 + consignment.setDestinationCountryCode(consignmentBo.getDestinationCountryCode());
85 //用户录入shipperaccount 89 //用户录入shipperaccount
86 consignment.setUserInputShipperAccount(consignmentBo.getShipperAccount()); 90 consignment.setUserInputShipperAccount(consignmentBo.getShipperAccount());
87 //始发国名称 91 //始发国名称
88 consignment.setUserInputOriginCountry(consignmentBo.getOriginCountry()); 92 consignment.setUserInputOriginCountry(consignmentBo.getOriginCountry());
89 //始发国编码 93 //始发国编码
90 consignment.setUserInputOriginCountryCode(consignmentBo.getOriginCountryCode()); 94 consignment.setUserInputOriginCountryCode(consignmentBo.getOriginCountryCode());
91 - }
92 } else { 95 } else {
93 consignment.setModifyTime(nowDate); 96 consignment.setModifyTime(nowDate);
94 consignment.setModifyUserName(user.getUserName()); 97 consignment.setModifyUserName(user.getUserName());
......