Commit 89b35a6e by 泽锋 李

fix

parent 72d7d441
......@@ -147,9 +147,9 @@ GROUP BY sku_ware_no", new { sku_ware_nos = data_skus.Select(s => s.sku_ware_no)
}
var data_1 = data_skus.Where(s => !temp_datas2.Any(v => v.sku_ware_no == s.sku_ware_no)).ToList();
if (data_1 != null && data_0.Count >= 1)
if (data_1 != null && data_1.Count >= 1)
{
foreach (var item in data_0.Select(s => new { s.sku, s.target_ware_no }).Distinct())
foreach (var item in data_1.Select(s => new { s.sku, s.target_ware_no }).Distinct())
{
_connection.Execute("update dc_mid_transit set quantity_transfer_temporary_storage=0 where bailun_sku=@bailun_sku and warehouse_code=@warehouse_code ", 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