| | |
| | | return CommonResult.success(tMap); |
| | | } |
| | | |
| | | @GetMapping("/main-process-index/list") |
| | | @Operation(summary = "主工序指标") |
| | | public CommonResult<List<MainProcessIndexDTO>> getMainIndexList(@RequestParam Map<String, Object> params) { |
| | | List<MainProcessIndexDTO> list = dataApi.getIndexList(params); |
| | | return success(list); |
| | | } |
| | | |
| | | @GetMapping("/child-process-index/list") |
| | | @Operation(summary = "子工序指标") |
| | | public CommonResult<List<ChildProcessIndexDTO>> getChildIndexList(@RequestParam Map<String, Object> params) { |
| | | List<ChildProcessIndexDTO> list = new ArrayList<>(); |
| | | return success(list); |
| | | } |
| | | |
| | | @PostMapping("/schedule-suggest/use-suggest") |
| | | @Operation(summary = "采纳建议") |
| | | public CommonResult<Boolean> useSuggest(@RequestBody StAlarmAndSuggestReqVO ReqVO) { |
| | | return success(dataApi.useSuggest(ReqVO)); |
| | | } |
| | | |
| | | @GetMapping("/power-net-factor/list") |
| | | @Operation(summary = "电力功率因数-电网拓扑") |
| | | public CommonResult<List<PowerNetFactorDTO>> getPowerNetFactorList(@RequestParam Map<String, Object> params) { |
| | | List<PowerNetFactorDTO> list = dataApi.getPowerNetFactorList(); |
| | | return success(list); |
| | | } |
| | | |
| | | @GetMapping("/power-capacitor-status/list") |
| | | @Operation(summary = "电力功率因数-电容器投运状态") |
| | | public CommonResult<List<PowerCapacitorStatusDTO>> getPowerCapacitorStatusList(@RequestParam Map<String, Object> params) { |
| | | List<PowerCapacitorStatusDTO> list = dataApi.getPowerCapacitorStatusList(); |
| | | return success(list); |
| | | } |
| | | |
| | | @GetMapping("/power-control-main/list") |
| | | @Operation(summary = "电力功率因数-管控功率因数主表") |
| | | public CommonResult<List<PowerControlMainDTO>> getPowerControlMainList(@RequestParam Map<String, Object> params) { |
| | | List<PowerControlMainDTO> list = dataApi.getPowerControlMainList(); |
| | | return success(list); |
| | | } |
| | | |
| | | @GetMapping("/power-control-det/list") |
| | | @Operation(summary = "电力功率因数-管控功率因数子表") |
| | | public CommonResult<List<PowerControlDetDTO>> getPowerControlDetList(@RequestParam Map<String, Object> params) { |
| | | List<PowerControlDetDTO> list = dataApi.getPowerControlDetList(params); |
| | | return success(list); |
| | | } |
| | | } |