Commit f645bd2f by 泽锋 李

fix

parent b5a56302
...@@ -611,7 +611,7 @@ t1.transport_type as 'transport_type_str' ...@@ -611,7 +611,7 @@ t1.transport_type as 'transport_type_str'
from dc_base_transfer_plan as t1 from dc_base_transfer_plan as t1
left join dc_base_warehouse as t2 on t1.warehouse_code = t2.warehouse_code left join dc_base_warehouse as t2 on t1.warehouse_code = t2.warehouse_code
where t1.`status`=1 and t2.hq_type not IN ('国内仓','fba仓') and t1.deleted=0 where t1.`status`=1 and t2.hq_type not IN ('国内仓','fba仓') and t1.deleted=0
and t1.sku=@bailun_sku and t1.warehouse_code=@warehouse_code and t1.bailun_sku=@bailun_sku and t1.warehouse_code=@warehouse_code
", parameters).ToList(); ", parameters).ToList();
if (plan_orders != null && plan_orders.Count >= 1) if (plan_orders != null && plan_orders.Count >= 1)
{ {
...@@ -627,7 +627,7 @@ and t1.sku=@bailun_sku and t1.warehouse_code=@warehouse_code ...@@ -627,7 +627,7 @@ and t1.sku=@bailun_sku and t1.warehouse_code=@warehouse_code
datas[0].product_count_2 = transDatas.Where(s=>s.transport_type_str== "空运").Sum(s => s.count); datas[0].product_count_2 = transDatas.Where(s=>s.transport_type_str== "空运").Sum(s => s.count);
// 在库库存分析 // 在库库存分析
var logs = _connection.Query<order_transfer_status_log>(" select * from order_transfer_status_log where t1.bailun_sku=@bailun_sku and t1.warehouse_code=@warehouse_code and is_delete=0 ", parameters);
return datas; return datas;
} }
......
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