自动化立体仓库 - WMS系统
#
lsh
2024-07-15 7860df0abacea1ddaf2bc03bbc4e78dd0bfc083b
src/main/resources/mapper/WrkDetlLogMapper.xml
@@ -67,6 +67,9 @@
        <if test="batch != null and batch != ''">
            and a.batch like concat('%',#{batch},'%')
        </if>
        <if test="model != null and model != ''">
            and a.model like concat('%',#{model},'%')
        </if>
        <if test="matnr != null and matnr != ''">
            and a.matnr like concat('%',#{matnr},'%')
        </if>
@@ -103,4 +106,12 @@
        <include refid="batchSeq"></include>
    </select>
    <select id="selectWrkDetlLogByOrderNoNotNull" resultMap="BaseResultMap">
        select top 1 * from asr_wrk_detl_log
        where batch = #{batch}
        and order_no is not null
        and order_no != ''
        order by io_time desc
    </select>
</mapper>