From 2f263d548dc8b9e270f5f5663e80f9d4f5880b10 Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期日, 15 六月 2025 15:05:58 +0800
Subject: [PATCH] 申请储位增加锁防止向WMS重复申请

---
 Admin.NET/WCS.Application/Service/WcsPlc/WcsPlcService.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Admin.NET/WCS.Application/Service/WcsPlc/WcsPlcService.cs b/Admin.NET/WCS.Application/Service/WcsPlc/WcsPlcService.cs
index e19e4e6..8c9f2a6 100644
--- a/Admin.NET/WCS.Application/Service/WcsPlc/WcsPlcService.cs
+++ b/Admin.NET/WCS.Application/Service/WcsPlc/WcsPlcService.cs
@@ -27,7 +27,6 @@
     [DisplayName("鍒嗛〉鏌ヨPLC")]
     public async Task<SqlSugarPagedList<WcsPlcOutput>> Page(PageWcsPlcInput input)
     {
-
         input.SearchKey = input.SearchKey?.Trim();
         var query = _wcsPlcRep.AsQueryable()
             .WhereIF(!string.IsNullOrEmpty(input.SearchKey), u =>
@@ -38,7 +37,7 @@
             .WhereIF(input.Type.HasValue, u => u.Type == input.Type)
             .WhereIF(input.Enable.HasValue, u => u.Enable == input.Enable)
             .Select<WcsPlcOutput>();
-        return await query.OrderBuilder(input).ToPagedListAsync(input.Page, input.PageSize);
+        return await query.OrderBuilder(input,input.Type.ToString()).ToPagedListAsync(input.Page, input.PageSize);
     }
 
     /// <summary>

--
Gitblit v1.8.0