自动化立体仓库 - WMS系统
1
3 天以前 9126e6315288e1ea50e74c70b099974522d6b172
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>