Commit d998fa7d by lizefeng

监控程序异常

parent e0d51271
...@@ -134,7 +134,9 @@ namespace AutoTurnOver.Controllers ...@@ -134,7 +134,9 @@ namespace AutoTurnOver.Controllers
/// <param name="sku"></param> /// <param name="sku"></param>
/// <param name="warehousecode"></param> /// <param name="warehousecode"></param>
/// <returns></returns> /// <returns></returns>
public FileResult Export(string supplier_name, int limit, int offset, string order, string sort, int? searchType, string key_words, string buyer_name, string sku_prefix, int? IsRedundant, int? IsStockOut, string warehousecode, string warehousetype, int? warehousearea, bool? hasDefectConfig, bool? hasAadvise = null, string categoryIds = null, int? monitor_status = null,int? has_tort = null) public ActionResult Export(string supplier_name, int limit, int offset, string order, string sort, int? searchType, string key_words, string buyer_name, string sku_prefix, int? IsRedundant, int? IsStockOut, string warehousecode, string warehousetype, int? warehousearea, bool? hasDefectConfig, bool? hasAadvise = null, string categoryIds = null, int? monitor_status = null,int? has_tort = null)
{
try
{ {
var m = new Condition_AutoTurnOver var m = new Condition_AutoTurnOver
{ {
...@@ -271,6 +273,12 @@ namespace AutoTurnOver.Controllers ...@@ -271,6 +273,12 @@ namespace AutoTurnOver.Controllers
memory.Position = 0; memory.Position = 0;
return File(memory, "text/csv", "周转表.csv"); return File(memory, "text/csv", "周转表.csv");
} }
catch (Exception ex)
{
return new ContentResult() { Content = ex.Message+"----"+ex.StackTrace };
}
}
#region 特殊销售设置 #region 特殊销售设置
......
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