liaijie 3 лет назад
Родитель
Сommit
f46a66d990
1 измененных файлов с 4 добавлено и 3 удалено
  1. 4 3
      src/main/java/com/izouma/nineth/service/AssetService.java

+ 4 - 3
src/main/java/com/izouma/nineth/service/AssetService.java

@@ -466,9 +466,12 @@ public class AssetService {
         });
 
         Object operation1 = query.get("operation");
-        if (ObjectUtils.isNotEmpty(operation1)){
+        boolean b = null != operation1;
+        log.error("是否进入"+b);
+        if (null!=operation1){
             String operation =  operation1.toString();
             List<UserHistory> content = map.getContent();
+            log.error("总长度为"+content.size());
             for (int i = 0; i < content.size(); i++) {
                 log.error("传过来的值为:"+operation);
                 log.error("原来的的值为:"+content.get(i).getDescription());
@@ -482,8 +485,6 @@ public class AssetService {
             map = PageUtil.createPageFromList(content, pageable);
         }
         log.error("++++++++++++++++++++++++++++");
-        log.error("传过来的值为:"+operation1.toString());
-        log.error("++++++++++++++++++++++++++++");
         return map;
     }