Showing
1 changed file
with
12 additions
and
9 deletions
| ... | @@ -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 | - //用户录入数据拷贝 | ||
| 83 | - BeanUtils.copyProperties(consignmentBo, consignment); | ||
| 84 | - }else { | ||
| 85 | - //用户录入shipperaccount | ||
| 86 | - consignment.setUserInputShipperAccount(consignmentBo.getShipperAccount()); | ||
| 87 | - //始发国名称 | ||
| 88 | - consignment.setUserInputOriginCountry(consignmentBo.getOriginCountry()); | ||
| 89 | - //始发国编码 | ||
| 90 | - consignment.setUserInputOriginCountryCode(consignmentBo.getOriginCountryCode()); | ||
| 91 | } | 82 | } |
| 83 | + //运单号 | ||
| 84 | + consignment.setConsignmentCode(consignmentBo.getConsignmentCode()); | ||
| 85 | + //目的国全称 | ||
| 86 | + consignment.setDestinationCountry(consignmentBo.getDestinationCountry()); | ||
| 87 | + //目的国编码 | ||
| 88 | + consignment.setDestinationCountryCode(consignmentBo.getDestinationCountryCode()); | ||
| 89 | + //用户录入shipperaccount | ||
| 90 | + consignment.setUserInputShipperAccount(consignmentBo.getShipperAccount()); | ||
| 91 | + //始发国名称 | ||
| 92 | + consignment.setUserInputOriginCountry(consignmentBo.getOriginCountry()); | ||
| 93 | + //始发国编码 | ||
| 94 | + consignment.setUserInputOriginCountryCode(consignmentBo.getOriginCountryCode()); | ||
| 92 | } else { | 95 | } else { |
| 93 | consignment.setModifyTime(nowDate); | 96 | consignment.setModifyTime(nowDate); |
| 94 | consignment.setModifyUserName(user.getUserName()); | 97 | consignment.setModifyUserName(user.getUserName()); | ... | ... |
-
Please register or login to post a comment