From 24dd3099304427446dded32d28729352ac526306 Mon Sep 17 00:00:00 2001 From: zhouhongjun <565221961@qq.com> Date: Thu, 5 Jun 2025 16:29:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=89=A9=E6=96=99=E4=B8=BB?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CherySupplierProMaterialDataService.cs | 15 +++++++++++++++ .../SUPPLIER_PRO_MATERIAL_DATA_Service.cs | 6 ------ .../Controllers/TaskConifgureController.cs | 16 ++++++++-------- 3 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 API/Wood.Service/Controllers/CherySupplierProMaterialDataService.cs delete mode 100644 API/Wood.Service/Controllers/SUPPLIER_PRO_MATERIAL_DATA_Service.cs diff --git a/API/Wood.Service/Controllers/CherySupplierProMaterialDataService.cs b/API/Wood.Service/Controllers/CherySupplierProMaterialDataService.cs new file mode 100644 index 0000000..02ddf8c --- /dev/null +++ b/API/Wood.Service/Controllers/CherySupplierProMaterialDataService.cs @@ -0,0 +1,15 @@ +using TaskManager.Contracts.Dtos; +using TaskManager.Entity; +using TaskManager.Entity.Entitys; +using TaskManager.EntityFramework; + +namespace TaskManager.Controllers +{ + public class CherySupplierProMaterialDataService : CheryRecurringJobInputPageController + { + public CherySupplierProMaterialDataService(HttpClient httpClient, JobDbContext jobDbContext, LogController log, IRepository repository) : base(httpClient, jobDbContext, log, repository) + { + + } + } +} diff --git a/API/Wood.Service/Controllers/SUPPLIER_PRO_MATERIAL_DATA_Service.cs b/API/Wood.Service/Controllers/SUPPLIER_PRO_MATERIAL_DATA_Service.cs deleted file mode 100644 index 6b62c23..0000000 --- a/API/Wood.Service/Controllers/SUPPLIER_PRO_MATERIAL_DATA_Service.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace TaskManager.Controllers -{ - public class SUPPLIER_PRO_MATERIAL_DATA_Service - { - } -} diff --git a/API/Wood.Service/Controllers/TaskConifgureController.cs b/API/Wood.Service/Controllers/TaskConifgureController.cs index 70af9e2..301e867 100644 --- a/API/Wood.Service/Controllers/TaskConifgureController.cs +++ b/API/Wood.Service/Controllers/TaskConifgureController.cs @@ -375,14 +375,14 @@ namespace TaskManager.Controllers TimeZoneInfo.Local ); break; - //case "物料主数据": - // RecurringJob.AddOrUpdate( - // task.TaskName, - // x => ((IDoExecute)x).ExecuteAsync(url, path, task.TaskName), - // task.Corn, - // TimeZoneInfo.Local - // ); - // break; + case "物料主数据": + RecurringJob.AddOrUpdate( + task.TaskName, + x => ((IDoExecute)x).ExecuteAsync(url, path, task.TaskName, client), + task.Corn, + TimeZoneInfo.Local + ); + break; //case "工艺装备": // RecurringJob.AddOrUpdate( // task.TaskName,