| 
														
															@@ -180,7 +180,7 @@ public class OpenDouble11StaticsController extends BaseController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         int asc = Optional.ofNullable(query.getAsc()).orElse(0); 
														 | 
														
														 | 
														
															         int asc = Optional.ofNullable(query.getAsc()).orElse(0); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if ("saleAmount".equals(orderBy)) { 
														 | 
														
														 | 
														
															         if ("saleAmount".equals(orderBy)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             result.sort((o1, o2) -> { 
														 | 
														
														 | 
														
															             result.sort((o1, o2) -> { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                if (0 == asc) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                if (1 == asc) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     return o1.getSaleAmount().compareTo(o2.getSaleAmount()); 
														 | 
														
														 | 
														
															                     return o1.getSaleAmount().compareTo(o2.getSaleAmount()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 } else { 
														 | 
														
														 | 
														
															                 } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     return o2.getSaleAmount().compareTo(o1.getSaleAmount()); 
														 | 
														
														 | 
														
															                     return o2.getSaleAmount().compareTo(o1.getSaleAmount()); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -188,7 +188,7 @@ public class OpenDouble11StaticsController extends BaseController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             }); 
														 | 
														
														 | 
														
															             }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } else if ("userCount".equals(orderBy)) { 
														 | 
														
														 | 
														
															         } else if ("userCount".equals(orderBy)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             result.sort((o1, o2) -> { 
														 | 
														
														 | 
														
															             result.sort((o1, o2) -> { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                if (0 == asc) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                if (1 == asc) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     return o1.getUserPurchaseNumber().compareTo(o2.getUserPurchaseNumber()); 
														 | 
														
														 | 
														
															                     return o1.getUserPurchaseNumber().compareTo(o2.getUserPurchaseNumber()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 } else { 
														 | 
														
														 | 
														
															                 } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     return o2.getUserPurchaseNumber().compareTo(o1.getUserPurchaseNumber()); 
														 | 
														
														 | 
														
															                     return o2.getUserPurchaseNumber().compareTo(o1.getUserPurchaseNumber()); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -207,10 +207,6 @@ public class OpenDouble11StaticsController extends BaseController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         Double11StaticWrapper.SaleStaticConfigParam configParam = 
														 | 
														
														 | 
														
															         Double11StaticWrapper.SaleStaticConfigParam configParam = 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 JSON.parseObject(config.getParanValue(), Double11StaticWrapper.SaleStaticConfigParam.class); 
														 | 
														
														 | 
														
															                 JSON.parseObject(config.getParanValue(), Double11StaticWrapper.SaleStaticConfigParam.class); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         temp.setSaleStaticsType(query.getSaleStaticsType()); 
														 | 
														
														 | 
														
															         temp.setSaleStaticsType(query.getSaleStaticsType()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        SysConfig orgs = sysConfigService.findByParamName("2023_activity_organ"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        if (orgs != null) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            query.setOrganId(orgs.getParanValue()); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         setQueryParam(temp, configParam); 
														 | 
														
														 | 
														
															         setQueryParam(temp, configParam); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         Map<String, Object> params = new HashMap<>(); 
														 | 
														
														 | 
														
															         Map<String, Object> params = new HashMap<>(); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -278,16 +274,14 @@ public class OpenDouble11StaticsController extends BaseController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             query.setMusicGroupId(configParam.getTheoryLive()); 
														 | 
														
														 | 
														
															             query.setMusicGroupId(configParam.getTheoryLive()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } else if (saleStaticsType == 4) { 
														 | 
														
														 | 
														
															         } else if (saleStaticsType == 4) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             // 云教练 
														 | 
														
														 | 
														
															             // 云教练 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            query.setGroupType(GroupType.MEMBER); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            query.setGroupType(GroupType.ACTIVITY); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             query.setType(OrderTypeEnum.MEMBER); 
														 | 
														
														 | 
														
															             query.setType(OrderTypeEnum.MEMBER); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             query.setActivityId(configParam.getCloudTeacher()); 
														 | 
														
														 | 
														
															             query.setActivityId(configParam.getCloudTeacher()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } else if (saleStaticsType == 5) { 
														 | 
														
														 | 
														
															         } else if (saleStaticsType == 5) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             // 乐器销售 
														 | 
														
														 | 
														
															             // 乐器销售 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            Map<String, Long> musical = configParam.getMusical(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (musical != null) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                Collection<String> values = musical.values().stream().map(String::valueOf).collect(Collectors.toList()); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                query.setGoodId(String.join(",", values)); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            SysConfig good = sysConfigService.findByParamName("2023_activity_good"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            query.setGoodId(good.getParanValue()); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             SysConfig startTime = sysConfigService.findByParamName("2023_activity_start_time"); 
														 | 
														
														 | 
														
															             SysConfig startTime = sysConfigService.findByParamName("2023_activity_start_time"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             query.setStartPayTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse( 
														 | 
														
														 | 
														
															             query.setStartPayTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     Optional.ofNullable(startTime.getParanValue()).orElse("2023-11-11 00:00:00"), 
														 | 
														
														 | 
														
															                     Optional.ofNullable(startTime.getParanValue()).orElse("2023-11-11 00:00:00"), 
														 |