Commit 7a86b520 authored by litengwei's avatar litengwei

巡检APP计划巡检分页BUG修复

parent c763b5b2
......@@ -109,7 +109,7 @@ public class PlanTaskController extends AbstractBaseController {
PlanTaskPageParamUtil.fillPlanTask(queryRequests, params);
params.put("orgCode", reginParams.getPersonIdentity().getCompanyBizOrgCode());
params.put("pageSize", pageable.getPageSize());
params.put("offset", pageable.getPageNumber() * pageable.getPageSize());
params.put("offset", (pageable.getPageNumber() - 1) * pageable.getPageSize());
if (ObjectUtils.isEmpty(params.get("orderBy"))) {
params.put("orderBy", "beginTime desc");
}
......
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