Commit 59f24808 by 泽锋 李

最大利润导出,新增sku单位重量

parent 31642d7f
...@@ -2175,7 +2175,7 @@ left join dc_base_sku as t4 on dat.bailun_sku = t4.bailun_sku ...@@ -2175,7 +2175,7 @@ left join dc_base_sku as t4 on dat.bailun_sku = t4.bailun_sku
} }
else else
{ {
sql = @" select ta.*,t4.product_code from dc_report_profit_analysis as ta sql = @" select ta.*,t4.product_code,t4.weight from dc_report_profit_analysis as ta
left join dc_auto_turnover as dat on dat.warehouse_code = ta.warehouse_code and dat.bailun_sku = ta.bailun_sku left join dc_auto_turnover as dat on dat.warehouse_code = ta.warehouse_code and dat.bailun_sku = ta.bailun_sku
left join dc_base_sku as t4 on dat.bailun_sku = t4.bailun_sku left join dc_base_sku as t4 on dat.bailun_sku = t4.bailun_sku
"; ";
......
...@@ -295,5 +295,6 @@ namespace AutoTurnOver.Models ...@@ -295,5 +295,6 @@ namespace AutoTurnOver.Models
public class dc_report_profit_analysis_dto: dc_report_profit_analysis { public class dc_report_profit_analysis_dto: dc_report_profit_analysis {
public string product_code { get; set; } public string product_code { get; set; }
public decimal? weight { 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