From 8f9b9411ca279670bd85fcfa7763987295ed9abf Mon Sep 17 00:00:00 2001
From: zhanghonglin <zhanghonglin@hnkhzn.com>
Date: 星期五, 10 四月 2026 10:55:38 +0800
Subject: [PATCH] 空桶入出扩展开发

---
 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Job/FillingJob.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Job/FillingJob.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Job/FillingJob.cs"
index 334d3b1..381ceb6 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Job/FillingJob.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Job/FillingJob.cs"
@@ -133,7 +133,7 @@
         {
             Dt_FillingOrder FillingOrder = new Dt_FillingOrder();
 
-            FillingOrder = _FillingRepository.QueryFirst(x => x.BarStatus == (int)FillingStatusEnum.Queue);
+            FillingOrder = _FillingRepository.QueryData(x => x.BarStatus == (int)FillingStatusEnum.Queue).OrderBy(x => x.Id).First();
 
             return FillingOrder;
         }

--
Gitblit v1.9.3