自动化立体仓库 - WMS系统
#
zyx
2024-04-23 c7bf4b8773f888fd5be613b7bb6fb8ae4a47b028
src/main/resources/mapper/ManPakOutMapper.xml
@@ -6,13 +6,18 @@
        <if test="docnum != null and docnum != '' ">
            and doc_num like '%' + #{docnum} + '%'
        </if>
        <if test="custName != null and custName != ''">
            and cust_name like '%' + #{custName} + '%'
        </if>
        <if test="stime != null">
            and create_time >= #{stime}
        </if>
        <if test="etime != null">
            and create_time &lt;= #{etime}
        </if>
        and (create_by = #{userId} or create_by is null)
        <if test="userId != null">
            and (create_by = #{userId} or create_by is null)
        </if>
    </sql>