Lius
2024-10-31 7d8887e36acb71ee20bf2f55170571b3fa7621b7
lxzn-module-mdc/src/main/java/org/jeecg/modules/screen/controller/MdcSubLargeScreenController.java
@@ -6,11 +6,13 @@
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.screen.dto.EquipmentInfoDto;
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;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@@ -57,5 +59,12 @@
        return Result.ok(result);
    }
    @ApiOperation(value = "分控看板-设备详细信息", notes = "分控看板-设备详细信息")
    @GetMapping("/equipmentInfo")
    public Result<?> equipmentInfo(@RequestParam(name = "equipmentId", required = true) String equipmentId) {
        EquipmentInfoDto result = mdcSubLargeScreenService.equipmentInfo(equipmentId);
        return Result.ok(result);
    }
}