From 324a7b654f3ab96ad0274e96050fde4957749de3 Mon Sep 17 00:00:00 2001 From: xxyy <cathay_xy@163.com> Date: 星期四, 06 三月 2025 09:12:51 +0800 Subject: [PATCH] 更新项目配置与功能扩展 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/AspNetCoreSchedule.cs | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/AspNetCoreSchedule.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/AspNetCoreSchedule.cs index b9093ab..61f1f85 100644 --- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/AspNetCoreSchedule.cs +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/AspNetCoreSchedule.cs @@ -33,7 +33,7 @@ public Task StartAsync(CancellationToken cancellationToken) { - _timer = new Timer(DoWork, null, 0, 10000); + _timer = new Timer(DoWork, null, TimeSpan.Zero, TimeSpan.FromMinutes(10)); return Task.CompletedTask; } @@ -135,6 +135,8 @@ Creater = "System", // 淇鎷煎啓閿欒 CreateDate = DateTime.Now, TaskId = 0, + ProductionLine= stockInfo.ProductionLine, + ProcessCode = stockInfo.ProcessCode, }; } @@ -154,6 +156,7 @@ TaskState = task.TaskState.Value, Id = 0, TaskType = task.TaskType, + ProductionLine = task.ProductionLine, }; } } -- Gitblit v1.9.3