|
@@ -321,14 +321,12 @@
|
|
RW.WAREHOUSE_NAME "warehouseName"
|
|
RW.WAREHOUSE_NAME "warehouseName"
|
|
from RMS_WAREHOUSE RW
|
|
from RMS_WAREHOUSE RW
|
|
where RW.DELETED = 0
|
|
where RW.DELETED = 0
|
|
- <where>
|
|
|
|
<if test="type != null">
|
|
<if test="type != null">
|
|
- RW.WAREHOUSE_TYPE_ID = #{type}
|
|
|
|
|
|
+ and RW.WAREHOUSE_TYPE_ID = #{type}
|
|
</if>
|
|
</if>
|
|
<if test="index != null">
|
|
<if test="index != null">
|
|
- instr(RW.WAREHOUSE_NAME, #{index}) > 0
|
|
|
|
|
|
+ and instr(RW.WAREHOUSE_NAME, #{index}) > 0
|
|
</if>
|
|
</if>
|
|
- </where>
|
|
|
|
)
|
|
)
|
|
<where>
|
|
<where>
|
|
<if test="warehouseName != null">
|
|
<if test="warehouseName != null">
|