#
1
2 小时以前 f0429051895816ebadc50bbc409021e23e4d1a3a
src/main/resources/mapper/BasArmMastMapper.xml
@@ -19,10 +19,59 @@
        <result column="supplier" property="supplier" />
        <result column="order_no" property="orderNo" />
        <result column="ctns" property="ctns" />
        <result column="createTime" property="createTime" />
        <result column="create_time" property="createTime" />
        <result column="arm_error" property="armError" />
        <result column="arm_msg" property="armMsg" />
        <result column="barcode" property="barcode" />
    </resultMap>
    <resultMap id="BaseResultMapOrderDetlValue" type="com.zy.asrs.entity.result.OrderDetlValueResultUtil">
        <result column="man_length" property="length" />
        <result column="width" property="width" />
        <result column="height" property="height" />
        <result column="weight" property="weight" />
        <result column="anfme" property="anfme" />
    </resultMap>
    <update id="updateArmMastStatus">
        update asr_bas_arm_mast
        set status = #{endStatus}
        where 1=1
          and arm_no = #{armNo}
          and sorting_line = #{sortingLine}
          and status = #{status}
    </update>
    <select id="selectOrderDetlAndSku" parameterType="java.util.Map" resultType="java.lang.Double">
        select
        anfme
        from man_order_detl
        where 1=1
          and order_no = #{orderNo}
          and matnr = #{matnr}
    </select>
    <select id="selectOrderDetlValue" resultMap="BaseResultMapOrderDetlValue">
        select top 1
            d.man_length,d.width,d.height,d.weight,d.anfme
        from man_order_detl_pakin d
        where 1=1
          and d.box_type3 = #{orderNo}
          and d.matnr = #{matnr}
    </select>
    <select id="selectBasArmMastSignValue" resultType="java.lang.Double">
        select top 1
        d.anfme
        from asr_bas_arm_mast_sign d
        where 1=1
        and d.order_no = #{orderNo}
        and d.matnr = #{matnr}
        and d.create_time = #{bindingTags}
    </select>
</mapper>