Browse Source

正式服时间

wangqifan 3 years ago
parent
commit
b048488717
1 changed files with 9 additions and 9 deletions
  1. 9 9
      src/main/java/com/izouma/nineth/web/CollectionController.java

+ 9 - 9
src/main/java/com/izouma/nineth/web/CollectionController.java

@@ -235,15 +235,15 @@ public class CollectionController extends BaseController {
         long transactingNum = collectionService.all(pageQuery).getTotal();
         long transactingNum = collectionService.all(pageQuery).getTotal();
         Long destroyedAssets = 0L;
         Long destroyedAssets = 0L;
         AtomicReference<Long> total = new AtomicReference<>(0L);
         AtomicReference<Long> total = new AtomicReference<>(0L);
-        destroyedAssets = collectionService.countDestroyAssets(search);
-        total.set(collectionRepo.sumAllByNameLike("%" + search + "%"));
-        List<String> configs = Arrays.asList(sysConfigService.getString("tag_total_config").split(";"));
-        configs.forEach(config -> {
-            List<String> conf = Arrays.asList(config.split(","));
-            if (StringUtils.equals(conf.get(0), search)) {
-                total.set(Long.valueOf(conf.get(1)));
-            }
-        });
+//        destroyedAssets = collectionService.countDestroyAssets(search);
+//        total.set(collectionRepo.sumAllByNameLike("%" + search + "%"));
+//        List<String> configs = Arrays.asList(sysConfigService.getString("tag_total_config").split(";"));
+//        configs.forEach(config -> {
+//            List<String> conf = Arrays.asList(config.split(","));
+//            if (StringUtils.equals(conf.get(0), search)) {
+//                total.set(Long.valueOf(conf.get(1)));
+//            }
+//        });
         Long tranferCount = total.get() - destroyedAssets;
         Long tranferCount = total.get() - destroyedAssets;
         Map<String, String> map = new HashMap<>();
         Map<String, String> map = new HashMap<>();
         map.put("onlyShowNum", String.valueOf(onlyShowNum));
         map.put("onlyShowNum", String.valueOf(onlyShowNum));