|
|
|
@ -167,8 +167,9 @@ public class InvoiceServiceImpl implements InvoiceService { |
|
|
|
|
if (buyerEntity == null) { |
|
|
|
|
return R.error("结算单:"+commonOrderInfo.getOrderInfo().getDdh()+"购方信息为空,请补全!"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
log.info("开始校验客户信息完整,1"); |
|
|
|
|
if (OrderInfoEnum.CHECK_BANK_FLAG_YES.getKey().equals(buyerEntity.getCheckBankFlag())) { |
|
|
|
|
log.info("开始校验客户信息完整,2"); |
|
|
|
|
if (StrUtil.isBlank(commonOrderInfo.getOrderInfo().getGhfNsrsbh())) { |
|
|
|
|
return R.error("结算单:"+commonOrderInfo.getOrderInfo().getDdh()+"购方纳税人识别号为空,请补全!"); |
|
|
|
|
} |
|
|
|
|