From 6ed309c5a80c36e752bfd799cbaba7665cf7364b Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 14 May 2021 17:31:02 +0800
Subject: [PATCH] 20210514 云顶

---
 src/main/java/com/xcong/excoin/modules/trademanage/service/impl/TradeManageServiceImpl.java |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/trademanage/service/impl/TradeManageServiceImpl.java b/src/main/java/com/xcong/excoin/modules/trademanage/service/impl/TradeManageServiceImpl.java
index 8b28c84..2d949d6 100644
--- a/src/main/java/com/xcong/excoin/modules/trademanage/service/impl/TradeManageServiceImpl.java
+++ b/src/main/java/com/xcong/excoin/modules/trademanage/service/impl/TradeManageServiceImpl.java
@@ -1240,19 +1240,19 @@
 				positionSettingVo.setSumRewardAmount(sumRewardAmount);
 			}
 			//降序
-			Collections.sort(records, new Comparator<PositionSettingVo>() {//调用sort()方法,并实现Comparator接口中的compare()方法  
-				@Override
-				public int compare(PositionSettingVo lhs, PositionSettingVo rhs) {
-					int value = Integer.valueOf(rhs.getSumRewardAmount().intValue())  
-	                        - Integer.valueOf(lhs.getSumRewardAmount().intValue());  
-					return value;
-				}  
-			});  
+//			Collections.sort(records, new Comparator<PositionSettingVo>() {//调用sort()方法,并实现Comparator接口中的compare()方法
+//				@Override
+//				public int compare(PositionSettingVo lhs, PositionSettingVo rhs) {
+//					int value = Integer.valueOf(rhs.getSumRewardAmount().intValue())
+//	                        - Integer.valueOf(lhs.getSumRewardAmount().intValue());
+//					return value;
+//				}
+//			});
 			//升序
-			//CollUtil.sortByProperty(records, "sumRewardAmount");
+			CollUtil.sortByProperty(records, "sumRewardAmount");
 			//CollUtil.sortByProperty(records, "accountType");
 		}
-		positionSettingVoIPage.setRecords(records);
+//		positionSettingVoIPage.setRecords(records);
 		return positionSettingVoIPage;
 	}
 

--
Gitblit v1.9.1