feng пре 8 месеци
родитељ
комит
37615883ff

+ 1 - 1
ruoyi-modules/ruoyi-chat/src/main/java/org/ruoyi/chat/service/chat/impl/ThinkTokenRoleServiceImpl.java

@@ -92,7 +92,7 @@ public class ThinkTokenRoleServiceImpl implements ThinkTokenRoleService {
             LambdaQueryWrapper<ThinkTokenRole> lqwQc = Wrappers.lambdaQuery();
             lqwQc.eq(ThinkTokenRole::getInNum,patientId);
             List<ThinkTokenRole> thinkTokenRoles = baseMapper.selectList(lqwQc);
-            List<Map> childrenList = page.getRecords().stream().map(item -> {
+            List<Map> childrenList = thinkTokenRoles.stream().map(item -> {
                 HashMap<String, Object> map = new HashMap<>();
                 map.put("content",item.getContent());
                 map.put("qeComments",item.getReply());