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 | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/BasArmRulesMapper.xml b/src/main/resources/mapper/BasArmRulesMapper.xml
index c3d5725..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">
@@ -31,4 +31,24 @@
and material_weight = #{materialWeight}
</update>
+ <select id="getNumber" resultType="Integer">
+ select material_number
+ from asr_bas_arm_rules
+ where 1=1
+ 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}
+ and material_weight = #{weight}
+ </select>
+
</mapper>
--
Gitblit v1.9.1