Showing
1 changed file
with
2 additions
and
0 deletions
| ... | ... | @@ -283,6 +283,8 @@ |
| 283 | 283 | </if> |
| 284 | 284 | <if test="vo.inventoryUnlockedOnly != null and vo.inventoryUnlockedOnly"> |
| 285 | 285 | AND c.type IN ('DIST_STOCK_CONTRACT','INTL_INVENTORY_AGMT') |
| 286 | + AND c.status ='FORMAL' | |
| 287 | + AND poi.type='PRODUCTION' | |
| 286 | 288 | AND (c.price_spec_locked = 0 OR c.price_spec_locked IS NULL) |
| 287 | 289 | </if> |
| 288 | 290 | <if test="vo.excludeInventoryUnlocked != null and vo.excludeInventoryUnlocked"> | ... | ... |