From 290b752cab63b7e813dcb493b5110b09829eff58 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期一, 22 九月 2025 17:11:44 +0800
Subject: [PATCH] 13
---
src/main/resources/mapper/LocMastMapper.xml | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/LocMastMapper.xml b/src/main/resources/mapper/LocMastMapper.xml
index ee92255..b6fc93c 100644
--- a/src/main/resources/mapper/LocMastMapper.xml
+++ b/src/main/resources/mapper/LocMastMapper.xml
@@ -155,4 +155,19 @@
and (bay1 >= #{startBay} and bay1 <= #{endBay})
and (lev1 >= #{startLev} and lev1 <= #{endLev})
</select>
+
+ <select id="selectLocDetlNotExist" resultMap="BaseResultMap">
+ select * from asr_loc_mast lm
+ left join asr_loc_detl ld
+ on lm.loc_no = ld.loc_no
+ where ld.matnr is null and lm.loc_sts = 'F'
+ </select>
+
+ <delete id="clearLiftLocNo">
+ update asr_loc_mast set loc_sts = 'S'
+ where row1 >=1 and row1 <= 16
+ and bay1 in(21,22,23,37,38,39,56,57,58)
+ and lev1 >= 1 and lev1 <= 10
+ and loc_sts = 'O'
+ </delete>
</mapper>
--
Gitblit v1.9.1