| | |
| | | |
| | | |
| | | <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"> |
| | |
| | | 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> |
| | | |
| | | </mapper> |