From 02bab558061c36692ef0c7f0b63efb8f75297f6d Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期四, 29 一月 2026 14:52:18 +0800
Subject: [PATCH] yys  开票台账修改,发货台账修改,发货审核修改

---
 src/main/resources/mapper/measuringinstrumentledger/MeasuringInstrumentLedgerMapper.xml |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mapper/measuringinstrumentledger/MeasuringInstrumentLedgerMapper.xml b/src/main/resources/mapper/measuringinstrumentledger/MeasuringInstrumentLedgerMapper.xml
index fc680d0..705d516 100644
--- a/src/main/resources/mapper/measuringinstrumentledger/MeasuringInstrumentLedgerMapper.xml
+++ b/src/main/resources/mapper/measuringinstrumentledger/MeasuringInstrumentLedgerMapper.xml
@@ -22,7 +22,11 @@
         create_time,
         update_user,
         update_time,
-        tenant_id
+        tenant_id,
+        unit,
+        dept_id,
+        instation_location,
+        cycle
         FROM
         measuring_instrument_ledger
         <where>
@@ -36,10 +40,10 @@
             <if test="req.status != null">
                 <choose>
                     <when test="req.status == 1">
-                        AND next_date &gt;=  DATE_FORMAT(now(),'%Y-%m-%d')
+                        AND most_date &gt;=  DATE_FORMAT(now(),'%Y-%m-%d')
                     </when>
                     <when test="req.status == 2">
-                        AND next_date &lt;  DATE_FORMAT(now(),'%Y-%m-%d')
+                        AND most_date &lt;  DATE_FORMAT(now(),'%Y-%m-%d')
                     </when>
                 </choose>
             </if>

--
Gitblit v1.9.3