소스 검색

去掉车辆id

lipenghui 2 달 전
부모
커밋
ad1cb20a01
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/dal/mysql/IotDeviceMapper.java

+ 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>()