|
|
@@ -236,7 +236,7 @@ public class CollectionController extends BaseController {
|
|
|
pageQuery.getQuery().put("inPaying", true);
|
|
|
long transactingNum = collectionService.all(pageQuery).getTotal();
|
|
|
Long destroyedAssets = collectionService.countDestroyAssets(search);
|
|
|
- Long total = collectionRepo.sumAllByNameLike(search);
|
|
|
+ Long total = collectionRepo.sumAllByNameLike("%" + search + "%");
|
|
|
Long tranferCount = total - destroyedAssets;
|
|
|
Map<String, String> map = new HashMap<>();
|
|
|
map.put("onlyShowNum", String.valueOf(onlyShowNum));
|