Commit b577822a by 泽锋 李

fix

parent 8048e533
...@@ -1236,7 +1236,7 @@ from dc_auto_turnover_air where gmt_modified>=@btime and gmt_modified<=@etime ...@@ -1236,7 +1236,7 @@ from dc_auto_turnover_air where gmt_modified>=@btime and gmt_modified<=@etime
character_skus = bailun_sku, character_skus = bailun_sku,
startPoint = "3", startPoint = "3",
has_min_freight_unit_price = true, has_min_freight_unit_price = true,
has_history_order = true has_history_order = 90
}).Where(s => s.min_freight_unit_price > 1); }).Where(s => s.min_freight_unit_price > 1);
var logoCeanData = logisticsDatas.Where(s => s.TransportType == 2).OrderBy(s => s.min_freight_unit_price).FirstOrDefault(); var logoCeanData = logisticsDatas.Where(s => s.TransportType == 2).OrderBy(s => s.min_freight_unit_price).FirstOrDefault();
modalData.freight_unit_price_ocean = logoCeanData.min_freight_unit_price.Value / (logoCeanData.min_freight_unit_weight ?? 1) * (dc_base_sku_data.weight/1000); modalData.freight_unit_price_ocean = logoCeanData.min_freight_unit_price.Value / (logoCeanData.min_freight_unit_weight ?? 1) * (dc_base_sku_data.weight/1000);
......
...@@ -47,6 +47,6 @@ namespace AutoTurnOver.Models.ApiDto ...@@ -47,6 +47,6 @@ namespace AutoTurnOver.Models.ApiDto
public string endCountries { get; set; } = ""; public string endCountries { get; set; } = "";
public string character_skus { get; set; } = ""; public string character_skus { get; set; } = "";
public bool has_min_freight_unit_price { get; set; } = false; public bool has_min_freight_unit_price { get; set; } = false;
public bool has_history_order { get; set; } = false; public int has_history_order { get; set; } = 0;
} }
} }
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