自动化立体仓库 - WMS系统
src/main/resources/mapper/LocDetlMapper.xml
@@ -356,6 +356,7 @@
            left join asr_loc_mast b on a.loc_no = b.loc_no
            where 1=1
            and b.loc_sts = 'F'
            and (b.whs_type is null or b.whs_type <> 2)
            <include refid="stockOutCondition"></include>
        ) t where t.row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize})
    </select>
@@ -367,6 +368,7 @@
        left join asr_loc_mast b on a.loc_no = b.loc_no
        where 1=1
        and b.loc_sts = 'F'
        and (b.whs_type is null or b.whs_type <> 2)
        <include refid="stockOutCondition"></include>
    </select>