fix (farm): 大屏数据维护
- 各项指标统计
This commit is contained in:
@@ -34,7 +34,7 @@ import static cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUti
|
|||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/farm/digital-cockpit")
|
@RequestMapping("/farm/digital-cockpit")
|
||||||
@Validated
|
@Validated
|
||||||
public class DigitalCockpit {
|
public class DigitalCockpitController {
|
||||||
|
|
||||||
private final BaseInfoService baseInfoService;
|
private final BaseInfoService baseInfoService;
|
||||||
private final PlotInfoService plotInfoService;
|
private final PlotInfoService plotInfoService;
|
||||||
@@ -43,7 +43,7 @@ public class DigitalCockpit {
|
|||||||
private final ProductionPlanService productionPlanService;
|
private final ProductionPlanService productionPlanService;
|
||||||
private final FarmingRecordService farmingRecordService;
|
private final FarmingRecordService farmingRecordService;
|
||||||
|
|
||||||
public DigitalCockpit(BaseInfoService baseInfoService, PlotInfoService plotInfoService, CompanyInfoService companyInfoService, DeviceInfoService deviceInfoService, ProductionPlanService productionPlanService, FarmingRecordService farmingRecordService) {
|
public DigitalCockpitController(BaseInfoService baseInfoService, PlotInfoService plotInfoService, CompanyInfoService companyInfoService, DeviceInfoService deviceInfoService, ProductionPlanService productionPlanService, FarmingRecordService farmingRecordService) {
|
||||||
this.baseInfoService = baseInfoService;
|
this.baseInfoService = baseInfoService;
|
||||||
this.plotInfoService = plotInfoService;
|
this.plotInfoService = plotInfoService;
|
||||||
this.companyInfoService = companyInfoService;
|
this.companyInfoService = companyInfoService;
|
||||||
@@ -100,7 +100,7 @@ public class DigitalCockpit {
|
|||||||
return success(res);
|
return success(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/various indexes")
|
@GetMapping("/various-indexes")
|
||||||
@Operation(summary = "各项数据统计")
|
@Operation(summary = "各项数据统计")
|
||||||
@Parameter(name = "baseId", description = "基地ID", required = true)
|
@Parameter(name = "baseId", description = "基地ID", required = true)
|
||||||
public CommonResult<VariousIndexesRespVO> getVariousIndexes(@RequestParam("baseId") String baseId) {
|
public CommonResult<VariousIndexesRespVO> getVariousIndexes(@RequestParam("baseId") String baseId) {
|
||||||
Reference in New Issue
Block a user