| | |
| | | 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; |
| | |
| | | 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); |
| | | } |
| | | |
| | | |
| | | } |