Showing
2 changed files
with
6 additions
and
2 deletions
| ... | @@ -89,6 +89,11 @@ public class ConsignmentServiceImpl extends BaseService implements IConsignmentS | ... | @@ -89,6 +89,11 @@ public class ConsignmentServiceImpl extends BaseService implements IConsignmentS |
| 89 | /** | 89 | /** |
| 90 | * 非501数据 | 90 | * 非501数据 |
| 91 | */ | 91 | */ |
| 92 | + if (StringUtils.isEmpty(bo.getShipperAccount())){ | ||
| 93 | + ConsignmentAddDto consignmentAddDto = new ConsignmentAddDto(); | ||
| 94 | + consignmentAddDto.setIsCreatorFlag(DigitConstants.DIGIT_TWO); | ||
| 95 | + return responseUtils.success(consignmentAddDto); | ||
| 96 | + } | ||
| 92 | return consignmentUtil.consignmentCheckWithNotCe(consignment,bo); | 97 | return consignmentUtil.consignmentCheckWithNotCe(consignment,bo); |
| 93 | }else { | 98 | }else { |
| 94 | /** | 99 | /** | ... | ... |
| ... | @@ -171,8 +171,7 @@ public class ConsignmentUtil { | ... | @@ -171,8 +171,7 @@ public class ConsignmentUtil { |
| 171 | * 都不一致,但是输入了shipperAccount,则给出提示 | 171 | * 都不一致,但是输入了shipperAccount,则给出提示 |
| 172 | */ | 172 | */ |
| 173 | if (StringUtils.hasText(bo.getShipperAccount())) { | 173 | if (StringUtils.hasText(bo.getShipperAccount())) { |
| 174 | - consignmentAddDto.setIsCreatorFlag(DigitConstants.DIGIT_TWO); | 174 | + consignmentAddDto.setIsCreatorFlag(DigitConstants.DIGIT_ONE); |
| 175 | - consignmentAddDto.setConsignment(null); | ||
| 176 | return responseUtils.success(ResponseCode.MESSAGE_CODE_30005,consignmentAddDto); | 175 | return responseUtils.success(ResponseCode.MESSAGE_CODE_30005,consignmentAddDto); |
| 177 | } | 176 | } |
| 178 | 177 | ... | ... |
-
Please register or login to post a comment