Commit c438acd8 authored by 刘基明's avatar 刘基明

我的评论帖子列表

parent add127c1
......@@ -459,7 +459,7 @@ public class ThemeManager {
commentThemeList.add(commentThemeQo);
}
return null;
return commentThemeList;
}
}
package com.tanpu.community.util;
import com.tanpu.community.api.beans.qo.ThemeQo;
import java.util.HashMap;
import java.util.List;
public class RankUtils {
public static List<ThemeQo> rankByIds(List<ThemeQo> list, List<String> ids){
int count=0;
HashMap<String, Integer> indexMap = new HashMap<>();
for (String id : ids) {
indexMap.put(id,count++);
}
return list;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment