自动化立体仓库 - WMS系统
pang.jiabao
2025-09-09 ea5663c37742844e6fe32c7e521a9ca9b5e711f9
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"/>
@@ -57,9 +58,6 @@
        <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 ">
                and a.modi_time between #{modiTimeStart} and #{modiTimeEnd}
@@ -68,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>