Commit 71d17f92 by tc

bug:[none]分页bug

parent 30b9c818
......@@ -2504,8 +2504,9 @@ public class BookAdviserBizImpl implements BookAdviserBiz {
}
Integer expireTime = 60 * 5;
JedisClusterUtils.setJsonList(key, erpPublishNumQueryParams, expireTime);
for (ERPPublishNumDTO erpPublishNumQueryParam : erpPublishNumQueryParams) {
result.add(erpPublishNumQueryParam.getBookId());
List<ERPPublishNumDTO> booksByIndex = getBooksByIndex(index, erpPublishNumQueryParams);
for (ERPPublishNumDTO erpPublishNumDTO : booksByIndex) {
result.add(erpPublishNumDTO.getBookId());
}
}else{
List<ERPPublishNumDTO> bookList = JedisClusterUtils.getJsonList(key, ERPPublishNumDTO.class);
......
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