Lius
2025-03-03 5ae1b71ab6b57140d46e6a8b9e606bb4a390ce27
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/MdcEquipmentMapper.java
@@ -8,6 +8,7 @@
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.mdc.dto.MdcEquDepDto;
import org.jeecg.modules.mdc.dto.MdcEquProDto;
import org.jeecg.modules.mdc.dto.MdcEquipmentDetailedDto;
import org.jeecg.modules.mdc.dto.MdcEquipmentDto;
import org.jeecg.modules.mdc.entity.MdcEquipment;
import org.jeecg.modules.mdc.entity.MdcEquipmentMonitor;
@@ -117,4 +118,17 @@
    @InterceptorIgnore(tenantLine = "1")
    MdcEquipmentDto findWorkLineLast(@Param("tableName") String tableName);
    /**
     * 根据id获取设备信息
     * @param id
     * @return
     */
    MdcEquipmentDetailedDto findById(@Param("id") String id);
    /**
     * 根据产线id获取设备状态列表
     * @param workshopId
     * @return
     */
    List<MdcEquipmentMonitor> getEquipmentMonitorList(@Param("workshopId") String workshopId);
}