Commit 19a04342 authored by 赵啸非's avatar 赵啸非

添加站点参数

parent 2b9c9432
......@@ -99,9 +99,10 @@ public class SiteBusinessServiceImpl extends AbstractCRUDCacheServiceImpl<SiteBu
public Result<SiteBusinessEntity> find(SiteBusinessEntity entity, PageInfo pageInfo, Context context) throws AppException {
SiteBusinessEntity params = this.findBefore(entity, pageInfo, context);
Result<SiteBusinessEntity> result = this.dao.getList(params, pageInfo);
List<SiteBusinessEntity> list = result.getList();
//重新内存分页
result.getPageInfo().setCurrPage(params.getPage());
result.getPageInfo().setPrePageResult(params.getSize());
list = MemoryPagination.pagination(list, params.getSize() == -1 ? list.size() : params.getSize(), params.getPage());
if (!ObjectUtils.isEmpty(params.getIdNotList())) {
//排除掉已经存在的ids
......
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