Commit 985bf01d by 陈健智

用户操作记录再修复

parent 0859cea7
......@@ -193,6 +193,7 @@ public class BehaviorServiceImpl implements BehaviorService {
if (StringUtils.isNotEmpty(nickname)) {
userDao.addKeywordFuzz(query, nickname, "nickname");
}
long count = userLogRecordDao.count(query, collectionNames);
List<UserLogRecord> behaviorList = new ArrayList<>();
int pageSizeFlag = size;
int skipCount = (page - 1) * size;
......@@ -210,7 +211,6 @@ public class BehaviorServiceImpl implements BehaviorService {
pageSizeFlag = size - behaviorList.size();
}
}
long count = userLogRecordDao.count(query, collectionNames);
return PageVO.createPageVo(count, page, size, behaviorList);
}
......
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