Lius
2024-10-09 33aea4a7532fcaddbd4262e51900b5102c0aa07c
lxzn-module-mdc/src/main/java/org/jeecg/modules/screen/controller/MdcSubLargeScreenController.java
@@ -6,8 +6,8 @@
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.mdc.entity.EquipmentAlarm;
import org.jeecg.modules.mdc.entity.MdcEquipmentMonitor;
import org.jeecg.modules.mdcJc.entity.MdcProductDayschedule;
import org.jeecg.modules.screen.dto.MdcProductDayscheduleDto;
import org.jeecg.modules.screen.dto.ToolLifeDto;
import org.jeecg.modules.screen.service.MdcSubLargeScreenService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -50,5 +50,12 @@
        return Result.ok(result);
    }
    @ApiOperation(value = "分控看板-刀具寿命列表", notes = "分控看板-刀具寿命列表")
    @GetMapping("/toolLifeList")
    public Result<?> toolLifeList(String productionId) {
        List<ToolLifeDto> result = mdcSubLargeScreenService.toolLifeList(productionId);
        return Result.ok(result);
    }
}