自动化立体仓库 - WMS系统
pang.jiabao
2024-12-24 096e1d6caa4afadd7341430c953fd4299a92869b
src/main/resources/mapper/LocDetlMapper.xml
@@ -449,6 +449,28 @@
        and lm.row1 in (31,32)
        order by row1
    </select>
    <select id="searchByLike" resultMap="BaseResultMap">
        select *
        from asr_loc_detl
        where
        1 = 1
        <if test="orderNo != null and orderNo != ''">
            and order_no like '%' + #{orderNo} + '%'
        </if>
        <if test="locNo != null and locNo != ''">
            and loc_no like '%' + #{locNo} + '%'
        </if>
        <if test="specs != null and specs != ''">
            and specs like '%' + #{specs} + '%'
        </if>
        <if test="matnr != null and matnr != ''">
            and matnr like '%' + #{matnr} + '%'
        </if>
        <if test="maktx != null and maktx != ''">
            and maktx like '%' + #{maktx} + '%';
        </if>
    </select>
    <select id="getStockStatis2" resultType="com.zy.asrs.entity.LocDetl">
        select * from
        (