From 401da88caef79968c8c0b1cb15487c4a554761ec Mon Sep 17 00:00:00 2001
From: zhangchao <zc857179121@qq.com>
Date: 星期三, 23 十月 2024 14:37:04 +0800
Subject: [PATCH] 测试环境暂时注释

---
 src/main/resources/mapper/LocRuleMapper.xml |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/LocRuleMapper.xml b/src/main/resources/mapper/LocRuleMapper.xml
index 02d6fb5..5a1f5bb 100644
--- a/src/main/resources/mapper/LocRuleMapper.xml
+++ b/src/main/resources/mapper/LocRuleMapper.xml
@@ -24,7 +24,30 @@
         <result column="update_by" property="updateBy" />
         <result column="update_time" property="updateTime" />
         <result column="memo" property="memo" />
+        <result column="mixed" property="mixed" />
+        <result column="keep_go" property="keepGo" />
 
     </resultMap>
 
+    <select id="selectByMatnr" resultMap="BaseResultMap">
+        select * from asr_loc_rule
+        where matnr = #{matnr}
+        and mixed = 0
+        and status = 1
+    </select>
+
+    <select id="selectByMixed" resultMap="BaseResultMap">
+        select * from asr_loc_rule
+        where mixed = #{mixed}
+        and status = 1
+    </select>
+
+    <update id="updateKeepGoByMatnr">
+        update asr_loc_rule set keep_go = #{keepGo} where matnr = #{matnr}
+    </update>
+
+    <update id="updateKeepGoByMixed">
+        update asr_loc_rule set keep_go = #{keepGo} where mixed = 1
+    </update>
+
 </mapper>

--
Gitblit v1.9.1