|
@@ -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));
|