Commit 5dcb0cf5 by 泽锋 李

fix

parent 048d154b
......@@ -581,16 +581,7 @@ and ( t5.`status`=0 or t5.`status` is null ) and t7.sum_quantity_init_advise>0
if (datas1 != null && datas1.Count >= 1)
{
_connection.Execute(" update dc_auto_purchase_advise_detailed set status=-1 where bailun_sku_warehouse_code in @bailun_sku_warehouse_codes ", new
{
bailun_sku_warehouse_codes = datas1.Select(s => $"{s.bailun_sku}{s.warehouse_code}").ToList()
}, commandTimeout: 0);
}
foreach (var item in datas1)
{
item.bailun_sku_warehouse_code = $"{item.bailun_sku}{item.warehouse_code}";
_connection.Insert(item);
WritePurchaseAdvise(datas1);
}
// 凑单sku(初始建议数没有) 如果下单数只有一个,改为2 ( 只补缺货的不管 )
......
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