From 1983df9f47c76e3c047f386e82e89c5537f345ac Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期三, 05 十一月 2025 12:57:32 +0800
Subject: [PATCH] *

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

diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index 589caee..76908e6 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -27,7 +27,7 @@
         <result column="ITEM_NUM" property="itemNum" />
         <result column="SAFE_QTY" property="safeQty" />
         <result column="WEIGHT" property="weight" />
-        <result column="LENGTH" property="length" />
+        <result column="MAN_LENGTH" property="manLength" />
         <result column="VOLUME" property="volume" />
         <result column="THREE_CODE" property="threeCode" />
         <result column="SUPP" property="supp" />
@@ -51,19 +51,19 @@
             and a."LOC_NO" like '%' + #{loc_no} + '%'
         </if>
         <if test="matNo!=null and matNo!='' ">
-            and a."matnr" like '%' + #{matNo} + '%'
+            and a."MATNR" like '%' + #{matNo} + '%'
         </if>
         <if test="matName!=null and matName!='' ">
-            and a."maktx" like '%' + #{matName} + '%'
+            and a."MAKTX" like '%' + #{matName} + '%'
         </if>
         <if test="anfme!=null and anfme!='' ">
-            and a."anfme" like '%' + #{anfme} + '%'
+            and a."ANFME" like '%' + #{anfme} + '%'
         </if>
         <if test="altme!=null and altme!='' ">
-            and a."altme" like '%' + #{altme} + '%'
+            and a."ALTME" like '%' + #{altme} + '%'
         </if>
         <if test="startTime!=null and endTime!=null">
-            and a."modi_time" between #{startTime} and #{endTime}
+            and a."MODI_TIME" between #{startTime} and #{endTime}
         </if>
     </sql>
 
@@ -71,23 +71,23 @@
         select * from
         (
             select
-            ROW_NUMBER() over (order by a."appe_time",a."matnr",a."loc_no") as row,
+            ROW_NUMBER() over (order by a."appe_time",a."MATNR",a."LOC_NO") as ROW,
             a.*
             from "SOURCE"."asr_loc_detl" a
-            left join "SOURCE"."asr_loc_mast" b on a."loc_no" = b."loc_no"
+            left join "SOURCE"."asr_loc_mast" b on a."LOC_NO" = b."LOC_NO"
             where 1=1
-            and b."loc_sts" = 'F'
+            and b."LOC_STS" = 'F'
             <include refid="stockOutCondition"></include>
-        ) t where t.row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize})
+        ) t where t.ROW between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize})
     </select>
 
     <select id="getStockOutPageCount" parameterType="java.util.Map" resultType="java.lang.Integer">
         select
         count(1)
         from "SOURCE"."asr_loc_detl" a
-        left join "SOURCE"."asr_loc_mast" b on a."loc_no" = b."loc_no"
+        left join "SOURCE"."asr_loc_mast" b on a."LOC_NO" = b."LOC_NO"
         where 1=1
-        and b."loc_sts" = 'F'
+        and b."LOC_STS" = 'F'
         <include refid="stockOutCondition"></include>
     </select>
 </mapper>

--
Gitblit v1.9.1