瀏覽代碼

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

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 " +
                         "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());