lrf 8 mēneši atpakaļ
vecāks
revīzija
9bbe7325cd

+ 1 - 5
src/main/java/com/free/service/TransferApplyService.java

@@ -66,11 +66,7 @@ public class TransferApplyService extends ServiceImpl<TransferApplyMapper, Trans
       qw.eq("apply_id", apply_id);
       qw.eq("apply_id", apply_id);
       qw.orderByDesc("time");
       qw.orderByDesc("time");
       Map chatRecord = chatRecordService.getMap(qw);
       Map chatRecord = chatRecordService.getMap(qw);
-      if (null == chatRecord) {
-        map.put("chatRecord", null);
-      } else {
-        map.put("chatRecord", chatRecord);
-      }
+      map.put("chatRecord", chatRecord);
     }
     }
 
 
     return list;
     return list;