Commit 9fb02818 by 泽锋 李

出完备货建议,字段下载周转数据

parent 65e2c001
using AutoTurnOver.DB; using AutoTurnOver.DB;
using AutoTurnOver.Models;
using AutoTurnOver.Services; using AutoTurnOver.Services;
using Bailun.ServiceFabric;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting;
using ShortagePush; using ShortagePush;
......
...@@ -32,6 +32,12 @@ namespace AutoTurnOver.Services ...@@ -32,6 +32,12 @@ namespace AutoTurnOver.Services
if (mainID == null) throw new Exception("创建采购建议失败"); if (mainID == null) throw new Exception("创建采购建议失败");
purchase_advise.ImportDetailed(mainID.Value,date); purchase_advise.ImportDetailed(mainID.Value,date);
dc_task_download_dao.PushData<dc_base_stock_search_dto>(new dc_task_download
{
parameter = new { }.ToJson(),
task_name = "周转表"
}, new UserData { UserName = "sys-bak" });
} }
catch (Exception ex) catch (Exception ex)
{ {
......
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