lipenghui 2 mēneši atpakaļ
vecāks
revīzija
ad1cb20a01

+ 1 - 2
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/dal/mysql/IotDeviceMapper.java

@@ -91,8 +91,7 @@ public interface IotDeviceMapper extends BaseMapperX<IotDeviceDO> {
 
     default List<IotDeviceDO> selectDataCollect() {
         return selectList(new LambdaQueryWrapperX<IotDeviceDO>()
-                .isNotNull(IotDeviceDO::getYfDeviceId).or()
-                .isNotNull(IotDeviceDO::getCarId));
+                .isNotNull(IotDeviceDO::getYfDeviceId));
     }
     default List<IotDeviceDO> selectSimpleList(IotDevicePageReqVO reqVO, Collection<Long> deptIds) {
         return selectList(new LambdaQueryWrapperX<IotDeviceDO>()