Commit 85f0efce by 泽锋 李

fix

parent b5eea309
...@@ -197,6 +197,7 @@ left join dc_auto_sales as t2 on t1.bailun_sku = t2.bailun_sku and t1.warehouse_ ...@@ -197,6 +197,7 @@ left join dc_auto_sales as t2 on t1.bailun_sku = t2.bailun_sku and t1.warehouse_
public static Page<api_stock_dto> GetStockPage(api_stock_search_dto search) public static Page<api_stock_dto> GetStockPage(api_stock_search_dto search)
{ {
string sql = $@" select string sql = $@" select
t1.bailun_sku as 'sku',
t1.usable_stock, t1.usable_stock,
t1.shipped_stock, t1.shipped_stock,
t2.area_name, t2.area_name,
......
...@@ -7,6 +7,7 @@ namespace AutoTurnOver.Models.ApiDto.Stock ...@@ -7,6 +7,7 @@ namespace AutoTurnOver.Models.ApiDto.Stock
{ {
public class api_stock_dto public class api_stock_dto
{ {
public string sku { get; set; }
public decimal usable_stock { get; set; } public decimal usable_stock { get; set; }
public decimal shipped_stock { get; set; } public decimal shipped_stock { get; set; }
public string area_name { get; set; } public string area_name { get; set; }
......
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