|
|
@ -246,6 +246,13 @@ public class PushInvoiceServiceImpl implements PushInvoiceService { |
|
|
|
try { |
|
|
|
try { |
|
|
|
if (StringUtils.isNotBlank(commonTsMqData.getFpTsMqData().getFphm())) { |
|
|
|
if (StringUtils.isNotBlank(commonTsMqData.getFpTsMqData().getFphm())) { |
|
|
|
pushTicketPoolService.pushTicketPool(commonTsMqData.getFpTsMqData().getFpdm(), commonTsMqData.getFpTsMqData().getFphm(), commonTsMqData.getNsrsbh()); |
|
|
|
pushTicketPoolService.pushTicketPool(commonTsMqData.getFpTsMqData().getFpdm(), commonTsMqData.getFpTsMqData().getFphm(), commonTsMqData.getNsrsbh()); |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(commonTsMqData.getFpTsMqData().getFpqqlsh())){ |
|
|
|
|
|
|
|
OrderInvoiceInfo orderInvoiceInfo = orderInvoiceInfoService.selectOrderInvoiceInfoByFpqqlsh(commonTsMqData.getFpTsMqData().getFpqqlsh(), shList); |
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(orderInvoiceInfo.getFphm())){ |
|
|
|
|
|
|
|
pushTicketPoolService.pushTicketPool(orderInvoiceInfo.getFpdm(), orderInvoiceInfo.getFphm(), commonTsMqData.getNsrsbh()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|