自动化立体仓库 - WMS系统
zwl
4 天以前 632bde0f32999a2b319b706e23d90bc1b5dd8cc2
src/main/resources/mapper/WrkDetlLogMapper.xml
@@ -34,7 +34,7 @@
        <result column="item_num" property="itemNum"/>
        <result column="safe_qty" property="safeQty"/>
        <result column="weight" property="weight"/>
        <result column="length" property="length"/>
        <result column="man_length" property="manLength"/>
        <result column="volume" property="volume"/>
        <result column="three_code" property="threeCode"/>
        <result column="supp" property="supp"/>
@@ -51,6 +51,7 @@
        <result column="appe_user" property="appeUser"/>
        <result column="appe_time" property="appeTime"/>
        <result column="memo" property="memo"/>
        <result column="pic" property="pic"/>
        <result column="standby1" property="standby1" />
        <result column="standby2" property="standby2" />
        <result column="standby3" property="standby3" />
@@ -61,6 +62,28 @@
        <result column="uuid" property="uuid"/>
    </resultMap>
    <insert id="save">
        insert into asr_wrk_detl_log (
            wrk_no, io_time, anfme, zpallet, matnr, maktx, batch, order_no,
            container_no, teu, plate_no, train_no, freq_type, cube_number,
            specs, model, color, brand, unit, price, sku, units, barcode,
            origin, manu, manu_date, item_num, safe_qty, weight, man_length,
            volume, three_code, supp, supp_code, be_batch, dead_time, dead_warn,
            source, inspect, danger, modi_user, modi_time, appe_user, appe_time,
            memo, standby1, standby2, standby3, box_type1, box_type2, box_type3, pic
        )
        select
            wrk_no, io_time, anfme, zpallet, matnr, maktx, batch, order_no,
            container_no, teu, plate_no, train_no, freq_type, cube_number,
            specs, model, color, brand, unit, price, sku, units, barcode,
            origin, manu, manu_date, item_num, safe_qty, weight, man_length,
            volume, three_code, supp, supp_code, be_batch, dead_time, dead_warn,
            source, inspect, danger, modi_user, modi_time, appe_user, appe_time,
            memo, standby1, standby2, standby3, box_type1, box_type2, box_type3, pic
        from asr_wrk_detl
        where wrk_no = #{workNo}
    </insert>
    <sql id="batchSeq">
        <if test="wrkNo != null and wrkNo != ''">
            and a.wrk_no = #{wrkNo}