Lius
2025-05-08 e2f27978a64f9b7bd999526742356b415d55bd1b
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcBoardController.java
@@ -30,42 +30,42 @@
    @Resource
    private IMdcBoardService mdcBoardService;
    @ApiOperation(value = "MDC首页接口-设备运行状态统计", notes = "MDC首页接口-设备运行状态统计")
    @ApiOperation(value = "MDC看板接口-设备运行状态统计", notes = "MDC看板接口-设备运行状态统计")
    @GetMapping("/equipmentStatusStatistics")
    public Result<?> equipmentStatusStatistics(String productionId) {
        Map<String, Object> result = mdcBoardService.equipmentStatusStatistics(productionId);
        return Result.OK(result);
    }
    @ApiOperation(value = "MDC首页接口-获取车间分组", notes = "MDC首页接口-获取车间分组")
    @ApiOperation(value = "MDC看板接口-获取车间分组", notes = "MDC看板接口-获取车间分组")
    @GetMapping("/proList")
    public Result<?> proList(String productionId) {
        List<MdcProduction> result = mdcBoardService.proList(productionId);
        return Result.OK(result);
    }
    @ApiOperation(value = "MDC首页接口-率分析走势图", notes = "MDC首页接口-率分析走势图")
    @ApiOperation(value = "MDC看板接口-率分析走势图", notes = "MDC看板接口-率分析走势图")
    @GetMapping("/rateAnalysisTrend")
    public Result<?> rateAnalysisTrend(String productionId) {
        Map<String, Object> result = mdcBoardService.rateAnalysisTrend(productionId);
        return Result.OK(result);
    }
    @ApiOperation(value = "MDC首页接口-设备列表", notes = "MDC首页接口-设备列表")
    @ApiOperation(value = "MDC看板接口-设备列表", notes = "MDC看板接口-设备列表")
    @GetMapping("/equipmentList")
    public Result<?> equipmentList(@RequestParam(name = "productionId", required = true) String productionId) {
        List<MdcEquipment> result = mdcBoardService.equipmentList(productionId);
        return Result.OK(result);
    }
    @ApiOperation(value = "MDC首页接口-设备日率分析", notes = "MDC首页接口-设备日率分析")
    @ApiOperation(value = "MDC看板接口-设备日率分析", notes = "MDC看板接口-设备日率分析")
    @GetMapping("/rateAnalysisTrendDay")
    public Result<?> rateAnalysisTrendDay(@RequestParam(name = "equipmentId", required = true) String equipmentId) {
        Map<String, Object> result = mdcBoardService.rateAnalysisTrendDay(equipmentId);
        return Result.OK(result);
    }
    @ApiOperation(value = "MDC首页接口-设备月率分析合格率", notes = "MDC首页接口-设备月率分析合格率")
    @ApiOperation(value = "MDC看板接口-设备月率分析合格率", notes = "MDC看板接口-设备月率分析合格率")
    @GetMapping("/rateAnalysisTrendMonth")
    public Result<?> rateAnalysisTrendMonth(@RequestParam(name = "equipmentId", required = true) String equipmentId) {
        Map<String, Object> result = mdcBoardService.rateAnalysisTrendMonth(equipmentId);