yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/dal/mysql/dv/machinery/MesDvMachineryMapper.java
@@ -37,20 +37,4 @@
        return selectCount(MesDvMachineryDO::getMachineryTypeId, machineryTypeId);
    }
    /**
     * 按数采设备编号查询设备(MQTT devId)
     */
    default MesDvMachineryDO selectByCollectDeviceCode(String collectDeviceCode) {
        return selectOne(MesDvMachineryDO::getCollectDeviceCode, collectDeviceCode);
    }
    /**
     * 查询所有已配置数采设备编号的设备
     */
    default java.util.List<MesDvMachineryDO> selectListWithCollectDeviceCode() {
        return selectList(new LambdaQueryWrapperX<MesDvMachineryDO>()
                .isNotNull(MesDvMachineryDO::getCollectDeviceCode)
                .orderByAsc(MesDvMachineryDO::getId));
    }
}