| | |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.modules.mdc.entity.MdcEquipment; |
| | | import org.jeecg.modules.mdc.service.IMdcBoardService; |
| | | import org.jeecg.modules.mdc.vo.MdcBoardEquRealTImeVo; |
| | | import org.jeecg.modules.system.entity.MdcProduction; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | @ApiOperation(value = "MDC看板接口-设备运行状态及运行参数信息", notes = "MDC看板接口-设备运行状态及运行参数信息") |
| | | @GetMapping("/equipmentRealTimeDetail") |
| | | public Result<?> equipmentRealTimeDetail(@RequestParam(name = "equipmentId", required = true) String equipmentId) { |
| | | Map<String, Object> result = mdcBoardService.rateAnalysisTrendMonth(equipmentId); |
| | | MdcBoardEquRealTImeVo result = mdcBoardService.equipmentRealTimeDetail(equipmentId); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | // @ApiOperation(value = "MDC首页接口-设备产品合格率", notes = "MDC首页接口-设备产品合格率") |
| | | // @GetMapping("/passRate") |
| | | // public Result<?> passRate(@RequestParam(name = "equipmentId", required = true) String equipmentId) { |
| | | // Map<String, Object> result = mdcBoardService.passRate(equipmentId); |
| | | // return Result.OK(result); |
| | | // } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |