From 230b95162de6c51203fb9b960e7755a6af409b34 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 07 四月 2026 10:02:59 +0800
Subject: [PATCH] 增加字段

---
 cylsg/cylsg.Application/Orders/OrderWorkerAppService.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cylsg/cylsg.Application/Orders/OrderWorkerAppService.cs b/cylsg/cylsg.Application/Orders/OrderWorkerAppService.cs
index 9f9070e..3c79614 100644
--- a/cylsg/cylsg.Application/Orders/OrderWorkerAppService.cs
+++ b/cylsg/cylsg.Application/Orders/OrderWorkerAppService.cs
@@ -314,7 +314,7 @@
                 }
             }
 
-            orderBiddings = orderBiddings.Where(x => (x.IsSelected == null || x.IsSelected != false)).ToList();
+            orderBiddings = orderBiddings.Where(x => (x.IsSelected == null || x.IsSelected != false)).OrderBy(x=>x.IsSelected).ThenByDescending(x=>x.IsCollect).ToList();
             var orderBiddingDtos = _mapper.Map<List<OrderBiddingDto>>(orderBiddings);
             if(orderBiddingDtos != null&& orderBiddingDtos.Count > 0)
             {

--
Gitblit v1.9.1