自动化立体仓库 - WMS系统
#
1
9 天以前 85f8eed3fa9f52a68dff30ea8bdee00fbc1d5938
src/main/resources/mapper/OrderDetlPakinMapper.xml
@@ -53,6 +53,9 @@
        <result column="box_type1" property="boxType1" />
        <result column="box_type2" property="boxType2" />
        <result column="box_type3" property="boxType3" />
        <result column="width" property="width" />
        <result column="height" property="height" />
        <result column="erp_anfme" property="erpAnfme" />
    </resultMap>
@@ -132,7 +135,7 @@
        where 1=1
        and order_id = #{orderId}
        and matnr = #{matnr}
        <include refid="standbyAll"></include>
<!--        <include refid="standbyAll"></include>-->
    </select>
    <select id="selectItemByOrderNo" resultMap="BaseResultMap">
@@ -242,4 +245,28 @@
        <include refid="standbyAll"></include>
    </update>
    <select id="selectOrderDetls" resultMap="BaseResultMap">
        SELECT *
        FROM man_order_detl_pakin
        where 1=1
        and box_type3 = #{orderNo}
        and standby3 = #{sku}
        and standby2 = #{upc}
        order by update_time
    </select>
    <select id="selectOrderDetlsByOrderNo" resultMap="BaseResultMap">
        SELECT *
        FROM man_order_detl_pakin
        where 1=1
          and order_no = #{orderNo}
        order by update_time
    </select>
    <update id="morpt" parameterType="String">
        UPDATE man_order_detl_pakin
        SET qty = anfme, work_qty = anfme
        WHERE order_no = #{orderNo}
    </update>
</mapper>