List<TbXyhDynamictypeFollowPO> followList= dynamicinfoService.getDynamictypeFollow(params);
List<String> sfollowList = new ArrayList<String>();
List<String> resultList = new ArrayList<String>();
for(TbXyhDynamictypeFollowPO follow:followList){
sfollowList.add(follow.getUserId());
}
String[] UserIds= msgUserIds.split("\\|");
List<String> userList = new ArrayList<String>();
for (int i=0;i<UserIds.length;i++)
{
userList.add(UserIds[i]);
}
< END >
程序员NBA
一个有故事的程序员
或者加我微信1414200300一起讨论java技术,有什么问题群里人也可以帮你一起解决