自动化立体仓库 - WMS系统
pang.jiabao
2025-11-12 76fe27b7b098cda720198aaa157edee4482351b8
src/main/resources/mapper/OrderDetlMapper.xml
@@ -247,6 +247,13 @@
        where 1=1
          and order_no= #{orderNo} and brand = #{brand}
    </update>
    <update id="updateOrderDetlByModel">
        update man_order_detl
        set work_qty = #{count}
        where 1=1
          and order_no= #{orderNo} and model = #{model}
    </update>
    <update id="updateOrderDetlQtyByGroupNo">
        update man_order_detl
        set qty = 1
@@ -273,6 +280,12 @@
        where brand = #{brand}
    </select>
    <select id="selectByModel" resultMap="BaseResultMap">
        select *
        from man_order_detl
        where model = #{model}
    </select>
    <select id="selectByOrderNoAndPkgGroupNoAndVolumeNo" resultMap="BaseResultMap">
        select *
        from man_order_detl
@@ -281,4 +294,11 @@
        and model = #{model}
    </select>
    <select id="selectByOrderNoAndVolumeNo" resultMap="BaseResultMap">
        select *
        from man_order_detl
        where order_no = #{orderNo}
          and model = #{model}
    </select>
</mapper>