|
|
@ -315,7 +315,7 @@ |
|
|
select * from inventory_part |
|
|
select * from inventory_part |
|
|
<where> |
|
|
<where> |
|
|
<if test="params.site !=null and params.site!=''"> |
|
|
<if test="params.site !=null and params.site!=''"> |
|
|
and site = #{params.site} |
|
|
|
|
|
|
|
|
and site like '%'+#{params.site}+'%' |
|
|
</if> |
|
|
</if> |
|
|
<if test="params.partNo !=null and params.partNo!=''"> |
|
|
<if test="params.partNo !=null and params.partNo!=''"> |
|
|
and part_no like '%'+#{params.partNo}+'%' |
|
|
and part_no like '%'+#{params.partNo}+'%' |
|
|
@ -405,7 +405,7 @@ |
|
|
from inventory_stock_ifs |
|
|
from inventory_stock_ifs |
|
|
<where> |
|
|
<where> |
|
|
<if test="params.site !=null and params.site!=''"> |
|
|
<if test="params.site !=null and params.site!=''"> |
|
|
and site = #{params.site} |
|
|
|
|
|
|
|
|
and site like '%'+#{params.site}+'%' |
|
|
</if> |
|
|
</if> |
|
|
<if test="params.warehouseId !=null and params.warehouseId!=''"> |
|
|
<if test="params.warehouseId !=null and params.warehouseId!=''"> |
|
|
and warehouse_id = #{params.warehouseId} |
|
|
and warehouse_id = #{params.warehouseId} |
|
|
|