|
|
@ -41,7 +41,6 @@ |
|
|
AND (c.calling_flag IS NULL OR c.calling_flag != 'Y') |
|
|
AND (c.calling_flag IS NULL OR c.calling_flag != 'Y') |
|
|
AND a.site = #{site} |
|
|
AND a.site = #{site} |
|
|
AND (b.reserve_flag IS NULL OR b.reserve_flag != 'Y') |
|
|
AND (b.reserve_flag IS NULL OR b.reserve_flag != 'Y') |
|
|
AND b.in_stock_flag = 'Y' |
|
|
|
|
|
AND c.wcs_location IS NOT NULL |
|
|
AND c.wcs_location IS NOT NULL |
|
|
<if test="warehouseId != null and warehouseId != ''"> |
|
|
<if test="warehouseId != null and warehouseId != ''"> |
|
|
AND b.warehouse_id = #{warehouseId} |
|
|
AND b.warehouse_id = #{warehouseId} |
|
|
|