批次商品做出库的时候,优化库存不足的提示逻辑
This commit is contained in:
@@ -1064,6 +1064,7 @@
|
|||||||
and di.delete_flag!=1) tb
|
and di.delete_flag!=1) tb
|
||||||
group by id, bar_code, name, standard, model, unit_id,
|
group by id, bar_code, name, standard, model, unit_id,
|
||||||
commodity_unit, batch_number, expiration_date
|
commodity_unit, batch_number, expiration_date
|
||||||
|
having sum(basic_number)>0
|
||||||
order by expiration_date asc
|
order by expiration_date asc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user