From 9d67925f88f60e83a0a46962cf643f9aebc47575 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 27 十二月 2023 21:52:14 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/LocDetlMapper.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index c710f9a..fa37930 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -434,7 +434,7 @@
         where 1=1
         and b.loc_sts = 'F'
         and a.matnr = #{matnr}
-        and a.payment = 1
+
         <!--        <choose>-->
         <!--            <when test="batch != null and batch != ''">-->
         <!--                and a.batch = #{batch}-->
@@ -454,7 +454,7 @@
         </choose>
 
         order by
-        a.price asc,a.manu,DATEPART(yyyy,a.modi_time),DATEPART(mm,a.modi_time),DATEPART(dd,a.modi_time), a.anfme
+        a.manu,DATEPART(yyyy,a.modi_time),DATEPART(mm,a.modi_time),DATEPART(dd,a.modi_time), a.anfme
         desc,
         NEWID(),
         case
@@ -645,7 +645,7 @@
         where 1=1
         and b.loc_sts = 'F'
         and a.matnr = #{matnr}
-        and a.payment = 1
+
         <!--        <choose>-->
         <!--            <when test="batch != null and batch != ''">-->
         <!--                and a.batch = #{batch}-->
@@ -665,7 +665,7 @@
         </choose>
 
         order by
-        a.price desc,a.manu,DATEPART(yyyy,a.modi_time),DATEPART(mm,a.modi_time),DATEPART(dd,a.modi_time), a.anfme
+        a.manu,DATEPART(yyyy,a.modi_time),DATEPART(mm,a.modi_time),DATEPART(dd,a.modi_time), a.anfme
         desc,
         NEWID(),
         case

--
Gitblit v1.9.1