Commit cd279c5c by lizefeng

fix

parent 17a50451
......@@ -749,7 +749,7 @@ left join dc_base_warehouse as dbw on t1.warehouse_code = dbw.warehouse_code
return _connection.Query<api_stock_warehouse_response_dto>($@" select t1.bailun_sku as 'skuCode', t1.warehouse_code as 'warehouseCode',t1.usable_stock as 'stock',t1.first_purchase_date ,(t2.quantity_purchase+t2.quantity_transfer_order) as 'transit_quantity'
from dc_base_stock as t1
left join dc_mid_transit as t2 on t1.bailun_sku = t2.bailun_sku and t1.warehouse_code=t2.warehouse_code
where usable_stock>0 and bailun_sku in @skus ", new { skus = search_data.SkuCodes }).ToList();
where t1.usable_stock>0 and t1.bailun_sku in @skus ", new { skus = search_data.SkuCodes }).ToList();
}
public static List<dc_base_stock_fba_dto> RealtimeFbaList(dc_base_stock_search_dto search_data, List<bailun_category_new_dto> categoryModels, ref int total)
......
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