mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 19:06:49 +08:00
Merge branch 'stat' of https://codeup.aliyun.com/6265f483e4166464dc2f9c14/boeu/baseservers into stat
This commit is contained in:
@@ -293,13 +293,13 @@ public class FavoritesServiceImpl implements IFavoritesService{
|
||||
if(!noteList.isEmpty()){
|
||||
StringBuilder ids=new StringBuilder();
|
||||
for (String s:noteList) {
|
||||
ids.append("'");
|
||||
// ids.append("'");
|
||||
ids.append(s);
|
||||
ids.append("'");
|
||||
// ids.append("'");
|
||||
ids.append(",");
|
||||
}
|
||||
ids.deleteCharAt(ids.length()-1);
|
||||
String sql="select id,course_name,content,sys_create_aid,sys_create_by,sys_create_time,praises,favorites,comments from boe_note_info where id in("+ids+")";
|
||||
String sql="select id,course_name,content,sys_create_aid,sys_create_by,sys_create_time,praises,favorites,comments from boe_note_info where id in("+ids.toString()+")";
|
||||
List<Object[]> list1 = dao.sqlFindList(sql);
|
||||
for (Object[] o:list1){
|
||||
for (FavoriteTotalDto favoriteTotalDto : list.getList()) {
|
||||
|
||||
Reference in New Issue
Block a user