Commit cfcfc6de authored by chenzhao's avatar chenzhao

修改bug

parent 36967b25
...@@ -491,6 +491,9 @@ public class FireFightingSystemController extends AbstractBaseController { ...@@ -491,6 +491,9 @@ public class FireFightingSystemController extends AbstractBaseController {
@RequestParam(value = "current") int current, @RequestParam(value = "current") int current,
@RequestParam(value = "size") int pageSize @RequestParam(value = "size") int pageSize
) { ) {
if (current > 0){
current = (current - 1) * pageSize;
}
return fireFightingSystemService.queryEquipmenInfoAndCount(equipmentName, equipmentCode, construction, maintenance, bizOrgCode, formGroupId, current, pageSize); return fireFightingSystemService.queryEquipmenInfoAndCount(equipmentName, equipmentCode, construction, maintenance, bizOrgCode, formGroupId, current, pageSize);
} }
......
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