From 34993855d43464975517e812e6bb0538bc2dc926 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期二, 23 九月 2025 09:59:00 +0800
Subject: [PATCH] yys 1.回款登记台账页面,增加一个开票日期列,和开票日期时间段查询 2.开票登记台账页面,增加合同录入日期列,和合同录入日期时间段查询

---
 src/main/resources/mapper/production/SalesLedgerWorkMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/production/SalesLedgerWorkMapper.xml b/src/main/resources/mapper/production/SalesLedgerWorkMapper.xml
index 5e9507b..41cbe07 100644
--- a/src/main/resources/mapper/production/SalesLedgerWorkMapper.xml
+++ b/src/main/resources/mapper/production/SalesLedgerWorkMapper.xml
@@ -25,7 +25,7 @@
         LEFT JOIN sales_ledger T1 ON T1.id = t4.sales_ledger_id
         left join sales_ledger_product t3 on t4.sales_ledger_product_id = t3.id
         <where>
-            1 = 1
+            t3.type = 1
             <if test="salesLedgerDto.status != null and salesLedgerDto.status != '' ">
                 AND  t4.status = #{salesLedgerDto.status}
             </if>

--
Gitblit v1.9.3