|
@@ -59,10 +59,10 @@
|
|
|
AND b.surplus_num <![CDATA[ >= ]]> b.quantity
|
|
|
</if>
|
|
|
<if test="(sy.isProduct != null and sy.isProduct != '') and (sy.isProduct == '0' or sy.isProduct ==0) ">
|
|
|
- AND b.inventory_code like '19%'
|
|
|
+ AND (b.inventory_code like '19%' or b.inventory_code like 'N19%')
|
|
|
</if>
|
|
|
<if test="(sy.isProduct != null and sy.isProduct != '') and (sy.isProduct == '1' or sy.isProduct == 1) ">
|
|
|
- AND b.inventory_code not like '19%'
|
|
|
+ AND (b.inventory_code not like '19%' and b.inventory_code not like 'N19%')
|
|
|
</if>
|
|
|
GROUP BY a.id
|
|
|
ORDER BY
|