|
|
|
@ -197,7 +197,7 @@ public class InvoiceServiceImpl implements InvoiceService { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if(CollectionUtils.isEmpty(cpyOrderItems)||CollectionUtils.isEmpty(nocpyOrderItems)){ |
|
|
|
|
commonOrderInfo.setOrderItemInfo(CollectionUtils.isEmpty(cpyOrderItems)?nocpyOrderItems:nocpyOrderItems); |
|
|
|
|
commonOrderInfo.setOrderItemInfo(CollectionUtils.isEmpty(cpyOrderItems)?nocpyOrderItems:cpyOrderItems); |
|
|
|
|
commonOrderInfoList.add(commonOrderInfo); |
|
|
|
|
}else { |
|
|
|
|
//封装成品油
|
|
|
|
@ -1602,6 +1602,7 @@ public class InvoiceServiceImpl implements InvoiceService { |
|
|
|
|
if (buyerEntity != null) { |
|
|
|
|
if (OrderInfoEnum.CHECK_BANK_FLAG_YES.getKey().equals(buyerEntity.getCheckBankFlag())) { |
|
|
|
|
log.info("开始校验客户信息完整"); |
|
|
|
|
|
|
|
|
|
if (StrUtil.isBlank(orderInfo.getGhfNsrsbh())) { |
|
|
|
|
throw new RuntimeException("结算单:"+orderInfo.getDdh()+"购方纳税人识别号为空,请补全!"); |
|
|
|
|
} |
|
|
|
|