From 8a1684439d8343a4084e0404e6a184d99117483e Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期三, 25 三月 2026 16:07:38 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/RuiShengZhiNeng/GaoPuLiTiKu
---
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/ScheduledTaskJob.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/ScheduledTaskJob.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/ScheduledTaskJob.cs"
index ffdff71..b0212f2 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/ScheduledTaskJob.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/ScheduledTaskJob.cs"
@@ -18,6 +18,7 @@
namespace WIDESEAWCS_Tasks
{
+ [DisallowConcurrentExecution]
public partial class ScheduledTaskJob : JobBase, IJob
{
private readonly ITaskService _taskService;
@@ -119,7 +120,7 @@
#endregion
#region 4F
- List<string> stationCodes = new() { "0319882DD0313240", "0319882DD0313750" };
+ List<string> stationCodes = new() { "0319882DD0313240", "0319882DD0313750"};
var Stations = _StationInfoService.Repository.QueryData(x => stationCodes.Contains(x.StationCode));
#region 鍏ユ彁鍗囨満浠诲姟
var Station = Stations.FirstOrDefault(x => x.StationStatus == (int)LocationStatusEnum.InStock && x.IsOccupied == 0);
--
Gitblit v1.9.3