@@ -69,10 +69,9 @@
buy_corporation_id = #{customerId}
</if>
</where>
- ) t1
+ ) t1
WHERE t1.sumPackQuantity < t1.cpQuantity
- AND t1.`status` >=30
- AND t1.`status` <99
+ AND t1.`status`=30
GROUP BY t1.id
</select>