From 25c4d88c377055a726d8f79c9e11e2484b3c3442 Mon Sep 17 00:00:00 2001
From: L <L@123>
Date: 星期二, 23 九月 2025 12:58:30 +0800
Subject: [PATCH] *

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

diff --git a/src/main/resources/mapper/BasArmRulesMapper.xml b/src/main/resources/mapper/BasArmRulesMapper.xml
index c3d5725..55dfdce 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">
@@ -31,4 +31,15 @@
         and material_weight = #{materialWeight}
     </update>
 
+    <select id="getNumber" resultType="Integer">
+        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>
+
 </mapper>

--
Gitblit v1.9.1