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