ソースを参照

【发票红字确认状态查询-新增无需确认状态获取】

wuyx 2 年 前
コミット
2f3a45b75f
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/main/java/com/uas/eis/task/ElecInvoiceTask.java

+ 1 - 1
src/main/java/com/uas/eis/task/ElecInvoiceTask.java

@@ -219,7 +219,7 @@ public class ElecInvoiceTask {
                         "select io_id,io_Code " +
                         "select io_id,io_Code " +
                         "from Invoiceorder where exists (Select 1 from ElecInvoice " +
                         "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' " +
 //                        " and io_code = 'SZ23070006' " +
                         ")) where rownum <= 100");
                         ")) where rownum <= 100");
                 logger.info("ElecI-DownLoad: master: {} size: {} ",master,ioList.getResultList().size());
                 logger.info("ElecI-DownLoad: master: {} size: {} ",master,ioList.getResultList().size());