Commit 91329938 by lizefeng

fix

parent 13a94e0e
......@@ -37,7 +37,7 @@ namespace AutoTurnOver.Controllers
{
int total = 0;
var service = new Services.ReportInvestReturnService();
var list = service.AnaList(new Condition_ConfigPromotion { }, 0, int.MaxValue,null,null, ref total);
var list = service.AnaList(new Condition_ConfigPromotion { }, 0, int.MaxValue, null, null, ref total);
DataTable table = new DataTable();
string[] cols = new string[] {
......@@ -69,8 +69,8 @@ namespace AutoTurnOver.Controllers
row["过去7天销量"] = itemData.sales_day_7;
row["出单天数 (总)"] = itemData.order_days;
row["出单天数 (过去30天)"] = itemData.consume_days_30;
row["首次出单日期"] = itemData.first_order_date;
row["最后出单日期"] = itemData.last_order_date;
row["首次出单日期"] = itemData.first_order_date == null ? "" : itemData.first_order_date.Value.ToString("yyyy-MM-dd");
row["最后出单日期"] = itemData.last_order_date == null ? "" : itemData.last_order_date.Value.ToString("yyyy-MM-dd");
row["30天利润 CNY"] = itemData.profit_30_forecast;
row["可售天数"] = itemData.vendibility_days;
row["采购在途数量"] = itemData.quantity_purchase;
......@@ -90,7 +90,7 @@ namespace AutoTurnOver.Controllers
row["最近30天的销售额 USD"] = itemData.amount_total_day_30;
row["最近30天的平台费 USD"] = itemData.platform_fee_day_30;
row["最近30天的退款金额 USD"] = itemData.refund_amount_day_30;
row["最后更新时间"] = itemData.gmt_update_time;
row["最后更新时间"] = itemData.gmt_update_time.ToString("yyyy-MM-dd HH:mm:ss");
row["库存管理得分"] = itemData.stock_score;
table.Rows.Add(row);
......
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