From 4768cb6ab3ab41b08cb55bed49fd7db80c544952 Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期三, 10 十二月 2025 16:56:03 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/BasArmRulesMapper.xml |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/BasArmRulesMapper.xml b/src/main/resources/mapper/BasArmRulesMapper.xml
index 3f1ee0f..df06193 100644
--- a/src/main/resources/mapper/BasArmRulesMapper.xml
+++ b/src/main/resources/mapper/BasArmRulesMapper.xml
@@ -17,7 +17,7 @@
 
 
     <select id="AllStatusSatisfyBasArmRules" resultMap="BaseResultMap">
-        select top 10 from asr_bas_arm_rules where 1=1 and status = #{status}
+        select top 10 * from asr_bas_arm_rules where 1=1 and status = #{status}
     </select>
 
     <update id="updateStatus">
@@ -35,7 +35,16 @@
         select material_number
         from asr_bas_arm_rules
         where 1=1
-        and material_volume = #{volume}
+        and material_length = #{length}
+        and material_width = #{width}
+        and material_height = #{height}
+        and material_weight = #{weight}
+    </select>
+
+    <select id="getStatus" resultType="Integer">
+        select status
+        from asr_bas_arm_rules
+        where 1=1
         and material_length = #{length}
         and material_width = #{width}
         and material_height = #{height}

--
Gitblit v1.9.1