Lius
2024-08-27 8ff9cd39e12be7730b4b9e6dc63e33113ded0219
lxzn-module-mdc/src/main/java/org/jeecg/modules/screen/controller/MdcLargeScreenController.java
@@ -6,13 +6,13 @@
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.screen.dto.*;
import org.jeecg.modules.screen.service.MdcLargeScreenService;
import org.jeecg.modules.system.entity.MdcProduction;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
/**
 * @author Lius
@@ -31,7 +31,7 @@
    @ApiOperation(value = "总控看板-今日生产进度", notes = "总控看板-今日生产进度")
    @GetMapping("/todayProductionSchedule")
    public Result<?> todayProductionSchedule() {
        List<TodayProductionDto> result =  mdcLargeScreenService.todayProductionSchedule();
        List<TodayProductionDto> result = mdcLargeScreenService.todayProductionSchedule();
        return Result.ok(result);
    }
@@ -58,6 +58,7 @@
    /**
     * 开机率利用率
     *
     * @return
     */
    @ApiOperation(value = "总控看板-今日设备工作效率", notes = "总控看板-今日设备工作效率")
@@ -70,8 +71,14 @@
    @ApiOperation(value = "总控看板-月设备利用率", notes = "总控看板-月设备利用率")
    @GetMapping("/monthEquipmentUtilizationRate")
    public Result<?> monthEquipmentUtilizationRate() {
        return Result.ok();
        List<MonthEquipmentUtilizationRateDto> result = mdcLargeScreenService.monthEquipmentUtilizationRate();
        return Result.ok(result);
    }
    @ApiOperation(value = "总控看板-产线列表", notes = "总控看板-产线列表")
    @GetMapping("/productionList")
    public Result<?> productionList() {
        List<MdcProduction> result = mdcLargeScreenService.productionList();
        return Result.ok(result);
    }
}