|
|
@ -254,7 +254,7 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="userId != '' and userId!=null">
|
|
|
|
<if test="userId != '' and userId!=null">
|
|
|
|
and (invWarehouseCode in (select code from inv_warehouse_user WHERE userId =#{userId}) or
|
|
|
|
and (invWarehouseCode in (select code from inv_warehouse_user WHERE userId =#{userId}) or
|
|
|
|
invWarehouseCode is null)
|
|
|
|
invWarehouseCode is null or invWarehouseCode='')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
|
|
<if test="ullageSupNo != '' and ullageSupNo!=null">
|
|
|
|
<if test="ullageSupNo != '' and ullageSupNo!=null">
|
|
|
@ -353,7 +353,7 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="userId!=null">
|
|
|
|
<if test="userId!=null">
|
|
|
|
and (invWarehouseCode in (select code from inv_warehouse_user WHERE userId =#{userId}) or
|
|
|
|
and (invWarehouseCode in (select code from inv_warehouse_user WHERE userId =#{userId}) or
|
|
|
|
invWarehouseCode is null)
|
|
|
|
invWarehouseCode is null or invWarehouseCode='')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
@ -428,7 +428,7 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="userId != '' and userId!=null">
|
|
|
|
<if test="userId != '' and userId!=null">
|
|
|
|
and (invWarehouseCode in (select code from inv_warehouse_user WHERE userId =#{userId}) or
|
|
|
|
and (invWarehouseCode in (select code from inv_warehouse_user WHERE userId =#{userId}) or
|
|
|
|
invWarehouseCode is null)
|
|
|
|
invWarehouseCode is null or invWarehouseCode='')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
|
|
<if test="locStorageCode != '' and locStorageCode!=null">
|
|
|
|
<if test="locStorageCode != '' and locStorageCode!=null">
|
|
|
@ -502,7 +502,7 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="userId != '' and userId!=null">
|
|
|
|
<if test="userId != '' and userId!=null">
|
|
|
|
and (invWarehouseCode in (select code from inv_warehouse_user WHERE userId =#{userId}) or
|
|
|
|
and (invWarehouseCode in (select code from inv_warehouse_user WHERE userId =#{userId}) or
|
|
|
|
invWarehouseCode is null)
|
|
|
|
invWarehouseCode is null or invWarehouseCode='')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
|
|
<if test="locStorageCode != '' and locStorageCode!=null">
|
|
|
|
<if test="locStorageCode != '' and locStorageCode!=null">
|
|
|
|