Commit 71d17f92 by tc

bug:[none]分页bug

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