Commit b2856223 by 泽锋 李

销量导入模板导出控制筛选条件的结果

parent e4e86d03
...@@ -342,6 +342,10 @@ namespace AutoTurnOver.Services ...@@ -342,6 +342,10 @@ namespace AutoTurnOver.Services
/// </summary> /// </summary>
public async Task<string> DownloadExportSalesTemplate(string par_json, dc_task_download download_data) public async Task<string> DownloadExportSalesTemplate(string par_json, dc_task_download download_data)
{ {
if(string.IsNullOrWhiteSpace(download_data.parameter_show))
{
throw new Exception("数据过大,请带条件查询");
}
Condition_AutoTurnOver search_data = par_json.ToObject<Condition_AutoTurnOver>(); Condition_AutoTurnOver search_data = par_json.ToObject<Condition_AutoTurnOver>();
Console.WriteLine("DownloadStock - 开始生成文件"); Console.WriteLine("DownloadStock - 开始生成文件");
int rows = 0; int rows = 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