Commit 8f00bdad by lizefeng

修复周转建议生成失败

parent dccfc4ac
......@@ -54,7 +54,7 @@ INSERT into dc_auto_purchase_advise_detailed(`bailun_sku`,`source_warehouse_code
select * from (
select
t1.bailun_sku,
t1.warehouse_code as 'source_warehouse_code'
t1.warehouse_code as 'source_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
(
......
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