zelong.shao

customer|add代码调整

......@@ -89,6 +89,11 @@ public class ConsignmentServiceImpl extends BaseService implements IConsignmentS
/**
* 非501数据
*/
if (StringUtils.isEmpty(bo.getShipperAccount())){
ConsignmentAddDto consignmentAddDto = new ConsignmentAddDto();
consignmentAddDto.setIsCreatorFlag(DigitConstants.DIGIT_TWO);
return responseUtils.success(consignmentAddDto);
}
return consignmentUtil.consignmentCheckWithNotCe(consignment,bo);
}else {
/**
......
......@@ -171,8 +171,7 @@ public class ConsignmentUtil {
* 都不一致,但是输入了shipperAccount,则给出提示
*/
if (StringUtils.hasText(bo.getShipperAccount())) {
consignmentAddDto.setIsCreatorFlag(DigitConstants.DIGIT_TWO);
consignmentAddDto.setConsignment(null);
consignmentAddDto.setIsCreatorFlag(DigitConstants.DIGIT_ONE);
return responseUtils.success(ResponseCode.MESSAGE_CODE_30005,consignmentAddDto);
}
......