Commit 5c04071c by lizefeng

无库的动态备货的

这里出的建议单是出到广州01的
- 静雯
parent a3fe94ed
...@@ -54,7 +54,7 @@ INSERT into dc_auto_purchase_advise_detailed(`bailun_sku`,`warehouse_code`,`quan ...@@ -54,7 +54,7 @@ INSERT into dc_auto_purchase_advise_detailed(`bailun_sku`,`warehouse_code`,`quan
select * from ( select * from (
select select
t1.bailun_sku, t1.bailun_sku,
t1.warehouse_code, (case when t8.group_id=2 then 'GZBLWH' else t1.warehouse_code end ) as 'warehouse_code',
t1.quantity_init_advise as 'quantity_init_advise', -- 原始采购建议数量 new t1.quantity_init_advise as 'quantity_init_advise', -- 原始采购建议数量 new
( (
case case
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment