From 3b87f36219202b4cec47840bd9f56fdbe53e7d04 Mon Sep 17 00:00:00 2001
From: DESKTOP-9BNTV8O <DESKTOP-9BNTV8O@163.com>
Date: 星期二, 11 三月 2025 20:49:17 +0800
Subject: [PATCH] 初版提交

---
 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