Commit 61009d61 by wangchunyang

盘点数据生成调整

parent 06bd89ab
...@@ -385,7 +385,7 @@ ...@@ -385,7 +385,7 @@
<select id="selectstocktakeItemsList" resultMap="StocktakeItemsResult"> <select id="selectstocktakeItemsList" resultMap="StocktakeItemsResult">
select id as inventory_id,material_id, batch_id, location_id, warehouses_id as warehouse_id, quantity as system_quantity select id as inventory_id,material_id, batch_id, location_id, warehouses_id as warehouse_id, quantity as system_quantity
from inventory from inventory
where is_used = 1 and inventory_status = 1 where is_used = 1 and inventory_status = 1 and quantity != 0
order by warehouse_id,location_id,material_id order by warehouse_id,location_id,material_id
</select> </select>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论