| | |
| | | }) |
| | | @GetMapping("/metering_table") |
| | | public Result<?> selectMeteringTable(Integer pageNo, Integer pageSize, String code, String meteringUnit){ |
| | | pageNo = (pageNo - 1) * pageSize; |
| | | Map<String, Object> maps = meteringPlanService.selectMeteringTable(pageNo, pageSize, code, meteringUnit); |
| | | return Result.success(maps); |
| | | } |
| | | |
| | | @ApiOperation(value = "计量计划<-->计量台账:查看计量履历") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "pageNo", value = "条数/页", dataTypeClass = Integer.class), |
| | | @ApiImplicitParam(name = "pageSize", value = "页数", dataTypeClass = Integer.class), |
| | | @ApiImplicitParam(name = "measureId", value = "计量Id", dataTypeClass = Integer.class, required = true), |
| | | @ApiImplicitParam(name = "accountOrPlan", value = "true为台账|false为计划", dataTypeClass = Boolean.class, required = true), |
| | | }) |
| | | @GetMapping("/list_record") |
| | | public Result<?> standingBook(Integer measureId, Boolean accountOrPlan){ |
| | | Object maps = meteringPlanService.standingBook(measureId, accountOrPlan); |
| | | public Result<?> standingBook(Integer pageNo, Integer pageSize, Integer measureId, Boolean accountOrPlan){ |
| | | Object maps = meteringPlanService.standingBook(pageNo, pageSize, measureId, accountOrPlan); |
| | | return Result.success(maps); |
| | | } |
| | | |