|
@@ -185,9 +185,11 @@ public class IotOpeationFillController {
|
|
@Operation(summary = "获得运行记录填报")
|
|
@Operation(summary = "获得运行记录填报")
|
|
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|
|
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|
|
@PreAuthorize("@ss.hasPermission('rq:iot-opeation-fill:query')")
|
|
@PreAuthorize("@ss.hasPermission('rq:iot-opeation-fill:query')")
|
|
- public CommonResult<IotOpeationFillRespVO> getIotOpeationFill(@RequestParam("id") Long id) {
|
|
|
|
- IotOpeationFillDO iotOpeationFill = iotOpeationFillService.getIotOpeationFill(id);
|
|
|
|
- return success(BeanUtils.toBean(iotOpeationFill, IotOpeationFillRespVO.class));
|
|
|
|
|
|
+ public CommonResult<IotOpeationFillDO> getIotOpeationFill(@RequestParam("id") Long id) {
|
|
|
|
+ IotOpeationFillDO fillDO = new IotOpeationFillDO();
|
|
|
|
+ fillDO.setId(id);
|
|
|
|
+ IotOpeationFillDO iotOpeationFill = iotOpeationFillService.getFillById(fillDO);
|
|
|
|
+ return success(BeanUtils.toBean(iotOpeationFill, IotOpeationFillDO.class));
|
|
}
|
|
}
|
|
|
|
|
|
@GetMapping("/page")
|
|
@GetMapping("/page")
|