From 4d7d2d5b3cd58077d28069322a625452df15e625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Fri, 30 May 2025 17:17:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- API/TaskManager.EntityFramework/JobDbContext.cs | 2 +- API/Wood.Admin.WebApi/Startup.cs | 2 +- .../Controllers/SUPPLIER_PRO_PROCESS_Service.cs | 6 ------ .../Controllers/SUPPLIER_PRO_SCHEDULING_Service.cs | 6 ------ ...PPLIER_BOM_CONTROLLER.cs => SupplierBomService.cs} | 2 +- ...CON_PO_CONTROLLER.cs => SupplierConDateService.cs} | 2 +- ...N_DATE_CONTROLLER.cs => SupplierConMmrpService.cs} | 2 +- ...P_CONTROLLER.cs => SupplierPoSchedulingService.cs} | 2 +- API/Wood.Service/Controllers/SupplierPoService.cs | 6 ++++++ API/Wood.Service/Controllers/SupplierPorPr_Service.cs | 6 ++++++ ...ifgureController.cs => TaskConifgureController.cs} | 10 +++++----- .../Properties/PublishProfiles/FolderProfile.pubxml | 11 +++++++++++ .../PublishProfiles/FolderProfile.pubxml.user | 8 ++++++++ 13 files changed, 42 insertions(+), 23 deletions(-) delete mode 100644 API/Wood.Service/Controllers/SUPPLIER_PRO_PROCESS_Service.cs delete mode 100644 API/Wood.Service/Controllers/SUPPLIER_PRO_SCHEDULING_Service.cs rename API/Wood.Service/Controllers/{SUPPLIER_BOM_CONTROLLER.cs => SupplierBomService.cs} (56%) rename API/Wood.Service/Controllers/{SUPPLIER_CON_PO_CONTROLLER.cs => SupplierConDateService.cs} (54%) rename API/Wood.Service/Controllers/{SUPPLIER_CON_DATE_CONTROLLER.cs => SupplierConMmrpService.cs} (53%) rename API/Wood.Service/Controllers/{SUPPLIER_CON_MMRP_CONTROLLER.cs => SupplierPoSchedulingService.cs} (53%) create mode 100644 API/Wood.Service/Controllers/SupplierPoService.cs create mode 100644 API/Wood.Service/Controllers/SupplierPorPr_Service.cs rename API/Wood.Service/Controllers/{CheryTaskConifgureController.cs => TaskConifgureController.cs} (98%) create mode 100644 API/Wood.Service/Properties/PublishProfiles/FolderProfile.pubxml create mode 100644 API/Wood.Service/Properties/PublishProfiles/FolderProfile.pubxml.user diff --git a/API/TaskManager.EntityFramework/JobDbContext.cs b/API/TaskManager.EntityFramework/JobDbContext.cs index dac80cd..a32915a 100644 --- a/API/TaskManager.EntityFramework/JobDbContext.cs +++ b/API/TaskManager.EntityFramework/JobDbContext.cs @@ -219,7 +219,7 @@ namespace TaskManager.EntityFramework public DbSet TaskSub { get; set; } - + public DbSet SUPPLIER_MRP_WARNING { get; set; } public DbSet TaskConifgure { get; set; } //public DbSet TaskConifgures { get; set; } diff --git a/API/Wood.Admin.WebApi/Startup.cs b/API/Wood.Admin.WebApi/Startup.cs index a18a938..f777392 100644 --- a/API/Wood.Admin.WebApi/Startup.cs +++ b/API/Wood.Admin.WebApi/Startup.cs @@ -99,7 +99,7 @@ namespace Wood.Admin.WebApi services.AddHttpClient(); services.AddScoped(); - services.AddScoped(); + services.AddScoped(); // 注册所有需要通过 GetRequiredService 获取的服务 diff --git a/API/Wood.Service/Controllers/SUPPLIER_PRO_PROCESS_Service.cs b/API/Wood.Service/Controllers/SUPPLIER_PRO_PROCESS_Service.cs deleted file mode 100644 index 1cb10d0..0000000 --- a/API/Wood.Service/Controllers/SUPPLIER_PRO_PROCESS_Service.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace TaskManager.Controllers -{ - public class SUPPLIER_PRO_PROCESS_Service - { - } -} diff --git a/API/Wood.Service/Controllers/SUPPLIER_PRO_SCHEDULING_Service.cs b/API/Wood.Service/Controllers/SUPPLIER_PRO_SCHEDULING_Service.cs deleted file mode 100644 index a35b5c6..0000000 --- a/API/Wood.Service/Controllers/SUPPLIER_PRO_SCHEDULING_Service.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace TaskManager.Controllers -{ - public class SUPPLIER_PRO_SCHEDULING_Service - { - } -} diff --git a/API/Wood.Service/Controllers/SUPPLIER_BOM_CONTROLLER.cs b/API/Wood.Service/Controllers/SupplierBomService.cs similarity index 56% rename from API/Wood.Service/Controllers/SUPPLIER_BOM_CONTROLLER.cs rename to API/Wood.Service/Controllers/SupplierBomService.cs index 3f16b92..1baae75 100644 --- a/API/Wood.Service/Controllers/SUPPLIER_BOM_CONTROLLER.cs +++ b/API/Wood.Service/Controllers/SupplierBomService.cs @@ -1,6 +1,6 @@ namespace TaskManager.Controllers { - public class SUPPLIER_BOM_CONTROLLER + public class SupplierBomService { } } diff --git a/API/Wood.Service/Controllers/SUPPLIER_CON_PO_CONTROLLER.cs b/API/Wood.Service/Controllers/SupplierConDateService.cs similarity index 54% rename from API/Wood.Service/Controllers/SUPPLIER_CON_PO_CONTROLLER.cs rename to API/Wood.Service/Controllers/SupplierConDateService.cs index ad10033..6c610cf 100644 --- a/API/Wood.Service/Controllers/SUPPLIER_CON_PO_CONTROLLER.cs +++ b/API/Wood.Service/Controllers/SupplierConDateService.cs @@ -1,6 +1,6 @@ namespace TaskManager.Controllers { - public class SUPPLIER_CON_PO_CONTROLLER + public class SupplierConDateService { } } diff --git a/API/Wood.Service/Controllers/SUPPLIER_CON_DATE_CONTROLLER.cs b/API/Wood.Service/Controllers/SupplierConMmrpService.cs similarity index 53% rename from API/Wood.Service/Controllers/SUPPLIER_CON_DATE_CONTROLLER.cs rename to API/Wood.Service/Controllers/SupplierConMmrpService.cs index e5fcfb6..78425e1 100644 --- a/API/Wood.Service/Controllers/SUPPLIER_CON_DATE_CONTROLLER.cs +++ b/API/Wood.Service/Controllers/SupplierConMmrpService.cs @@ -1,6 +1,6 @@ namespace TaskManager.Controllers { - public class SUPPLIER_CON_DATE_CONTROLLER + public class SupplierConMmrpService { } } diff --git a/API/Wood.Service/Controllers/SUPPLIER_CON_MMRP_CONTROLLER.cs b/API/Wood.Service/Controllers/SupplierPoSchedulingService.cs similarity index 53% rename from API/Wood.Service/Controllers/SUPPLIER_CON_MMRP_CONTROLLER.cs rename to API/Wood.Service/Controllers/SupplierPoSchedulingService.cs index 2aed355..1c82825 100644 --- a/API/Wood.Service/Controllers/SUPPLIER_CON_MMRP_CONTROLLER.cs +++ b/API/Wood.Service/Controllers/SupplierPoSchedulingService.cs @@ -1,6 +1,6 @@ namespace TaskManager.Controllers { - public class SUPPLIER_CON_MMRP_CONTROLLER + public class SupplierPoSchedulingService { } } diff --git a/API/Wood.Service/Controllers/SupplierPoService.cs b/API/Wood.Service/Controllers/SupplierPoService.cs new file mode 100644 index 0000000..535dcbf --- /dev/null +++ b/API/Wood.Service/Controllers/SupplierPoService.cs @@ -0,0 +1,6 @@ +namespace TaskManager.Controllers +{ + public class SupplierPoService + { + } +} diff --git a/API/Wood.Service/Controllers/SupplierPorPr_Service.cs b/API/Wood.Service/Controllers/SupplierPorPr_Service.cs new file mode 100644 index 0000000..c1c8014 --- /dev/null +++ b/API/Wood.Service/Controllers/SupplierPorPr_Service.cs @@ -0,0 +1,6 @@ +namespace TaskManager.Controllers +{ + public class SupplierPorPr_Service + { + } +} diff --git a/API/Wood.Service/Controllers/CheryTaskConifgureController.cs b/API/Wood.Service/Controllers/TaskConifgureController.cs similarity index 98% rename from API/Wood.Service/Controllers/CheryTaskConifgureController.cs rename to API/Wood.Service/Controllers/TaskConifgureController.cs index 302510c..cbd9952 100644 --- a/API/Wood.Service/Controllers/CheryTaskConifgureController.cs +++ b/API/Wood.Service/Controllers/TaskConifgureController.cs @@ -27,9 +27,9 @@ namespace TaskManager.Controllers //[Route("[controller]")] [AllowAnonymous] - public class CheryTaskConifgureController :NormalBaseController + public class TaskConifgureController :NormalBaseController { - public CheryTaskConifgureController(JobDbContext context, IServiceProvider builder, IConfiguration configuration, IRepository repository) : base(context, builder, configuration, repository) + public TaskConifgureController(JobDbContext context, IServiceProvider builder, IConfiguration configuration, IRepository repository) : base(context, builder, configuration, repository) { } @@ -524,7 +524,7 @@ namespace TaskManager.Controllers ); break; case "M+6月物料需求计划风险确认": - RecurringJob.AddOrUpdate( + RecurringJob.AddOrUpdate( task.TaskName, x => ((IDoExecute)x).ExecuteAsync(url, path, task.TaskName, client), task.Corn, @@ -532,7 +532,7 @@ namespace TaskManager.Controllers ); break; case "日物料需求计划风险确认": - RecurringJob.AddOrUpdate( + RecurringJob.AddOrUpdate( task.TaskName, x => ((IDoExecute)x).ExecuteAsync(url, path, task.TaskName, client), task.Corn, @@ -540,7 +540,7 @@ namespace TaskManager.Controllers ); break; case "采购订单风险确认": - RecurringJob.AddOrUpdate( + RecurringJob.AddOrUpdate( task.TaskName, x => ((IDoExecute)x).ExecuteAsync(url, path, task.TaskName, client), task.Corn, diff --git a/API/Wood.Service/Properties/PublishProfiles/FolderProfile.pubxml b/API/Wood.Service/Properties/PublishProfiles/FolderProfile.pubxml new file mode 100644 index 0000000..b00936b --- /dev/null +++ b/API/Wood.Service/Properties/PublishProfiles/FolderProfile.pubxml @@ -0,0 +1,11 @@ + + + + + Release + Any CPU + D:\Wood + FileSystem + <_TargetId>Folder + + \ No newline at end of file diff --git a/API/Wood.Service/Properties/PublishProfiles/FolderProfile.pubxml.user b/API/Wood.Service/Properties/PublishProfiles/FolderProfile.pubxml.user new file mode 100644 index 0000000..f4f127b --- /dev/null +++ b/API/Wood.Service/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -0,0 +1,8 @@ + + + + + True|2025-05-28T02:43:07.4469827Z||; + + + \ No newline at end of file