From 01503b2809977ecdab703695c8e4bd70324f3c62 Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期二, 25 三月 2025 08:07:04 +0800
Subject: [PATCH] LED屏幕增加实时显示称重重量

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