| | |
| | | package org.jeecg.modules.mdc.service.impl; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | |
| | | result.put("runData", runData); |
| | | |
| | | // 查询坐标信息 |
| | | if (!mdcEquipmentDetailedDto.getDriveType().equals("ZUOLAN") || !mdcEquipmentDetailedDto.getDriveType().equals("CurrentState")) { |
| | | if (!"ZUOLAN".equals(mdcEquipmentDetailedDto.getDriveType()) && !"CurrentState".equals(mdcEquipmentDetailedDto.getDriveType())) { |
| | | EquipmentXYZ equipmentXYZ = equipmentXYZService.getByEquipmentId(mdcEquipmentDetailedDto.getEquipmentId()); |
| | | if (equipmentXYZ != null) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | |
| | | return list.stream().map(MdcEquipment::getEquipmentId).collect(Collectors.toList()); |
| | | } |
| | | |
| | | /** |
| | | * 根据产线id获取设备状态列表 |
| | | * |
| | | * @param workshopId |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<MdcEquipmentMonitor> getEquipmentMonitorList(String workshopId) { |
| | | return this.baseMapper.getEquipmentMonitorList(workshopId); |
| | | } |
| | | |
| | | } |