From 36ea0f937af408abe025526b9ee744354d920187 Mon Sep 17 00:00:00 2001 From: jiayang yue Date: Fri, 23 May 2025 14:52:18 +0800 Subject: [PATCH] =?UTF-8?q?2025.5.23=20=E6=96=B0=E5=A2=9E=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E6=89=93=E5=8D=B0=E5=BA=93=E5=AD=98=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=EF=BC=88ALL=EF=BC=89=20=E5=8A=9F=E8=83=BD=E4=B8=BB=E8=A6=81?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=BA=93=E5=AD=98=E4=B8=BA0=E6=97=B6?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E8=BF=9B=E8=A1=8C=E6=89=93=E5=8D=B0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/production/DailyPlanMapper.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mapper/production/DailyPlanMapper.xml b/src/main/resources/mapper/production/DailyPlanMapper.xml index 9683c3c..978d426 100644 --- a/src/main/resources/mapper/production/DailyPlanMapper.xml +++ b/src/main/resources/mapper/production/DailyPlanMapper.xml @@ -886,10 +886,10 @@ Round(a.QtyOnHand, 3) > 0 - and a.TransDate >= #{startDate} + and a.FirstInDate >= #{startDate} - and #{endDate} >= a.TransDate -1 + and #{endDate} >= a.FirstInDate -1 AND a.site = #{site} @@ -907,7 +907,7 @@ AND a.PartNo LIKE #{partNo} - order by a.TransDate desc + order by a.FirstInDate desc