自动化立体仓库 - WMS系统
pang.jiabao
2025-09-16 c902e238626f737a224325ac503706c45f2f247f
src/main/resources/mapper/WrkDetlLogMapper.xml
@@ -29,6 +29,7 @@
        <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"/>
@@ -48,14 +49,14 @@
        <result column="standby1" property="standby1" />
        <result column="standby2" property="standby2" />
        <result column="standby3" property="standby3" />
        <result column="box_type1" property="boxType1" />
        <result column="box_type2" property="boxType2" />
        <result column="box_type3" property="boxType3" />
    </resultMap>
    <sql id="batchSeq">
        <if test="wrkNo != null and wrkNo != ''">
            and a.wrk_no = #{wrkNo}
        </if>
        <if test="anfme != null and anfme != ''">
            and a.anfme = #{anfme}
        </if>
        <if test="modiTimeStart != null ">
            <if test="modiTimeEnd != null ">
@@ -65,17 +66,23 @@
        <if test="orderNo != null and orderNo != ''">
            and a.order_no like concat('%',#{orderNo},'%')
        </if>
        <if test="batch != null and batch != ''">
            and a.batch like concat('%',#{batch},'%')
        <if test="maktx != null and maktx != ''">
            and a.maktx like concat('%',#{maktx},'%')
        </if>
        <if test="matnr != null and matnr != ''">
            and a.matnr like concat('%',#{matnr},'%')
        <if test="model != null and model != ''">
            and a.model = #{model}
        </if>
        <if test="volume != null and volume != ''">
            and a.volume = #{volume}
        </if>
        <if test="zpallet != null and zpallet != ''">
            and a.zpallet like concat('%',#{zpallet},'%')
        </if>
        <if test="specs != null and specs != ''">
            and a.specs like concat('%',#{specs},'%')
        <if test="ioType != null">
            and b.io_type = #{ioType}
        </if>
        <if test="wrkSts != null">
            and b.wrk_sts = #{wrkSts}
        </if>
    </sql>