|
|
@@ -219,7 +219,7 @@ public class ElecInvoiceTask {
|
|
|
"select io_id,io_Code " +
|
|
|
"from Invoiceorder where exists (Select 1 from ElecInvoice " +
|
|
|
//有红字确认单 但是没有获取到发票号的
|
|
|
- " where ei_ioid = io_id and nvl(EI_INVOICETYPE,'1') = '1' and ei_redapplyid is not null and EI_RELATIVEREFNO is null and nvl(EI_BILLSTATUS,' ') in (' ','02','03') " +
|
|
|
+ " where ei_ioid = io_id and nvl(EI_INVOICETYPE,'1') = '1' and ei_redapplyid is not null and EI_RELATIVEREFNO is null and nvl(EI_BILLSTATUS,' ') in (' ','01','02','03') " +
|
|
|
// " and io_code = 'SZ23070006' " +
|
|
|
")) where rownum <= 100");
|
|
|
logger.info("ElecI-DownLoad: master: {} size: {} ",master,ioList.getResultList().size());
|