Explorar o código

拓元算法设备列表

谭斌 hai 1 ano
pai
achega
c17bd28baf

+ 1 - 2
device-api-service/src/main/java/com/xy/service/DeviceInfoServiceImpl.java

@@ -225,8 +225,7 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
         if (thirdStatus != null && thirdStatus.intValue() == 2) {
             statusList.add("4000");
         }
-        LambdaQueryWrapper<DeviceInfo> lqw = new MybatisPlusQuery().eqWrapper(dto, DeviceInfo.class)
-                .build();
+        LambdaQueryWrapper<DeviceInfo> lqw = new LambdaQueryWrapper<>();
         lqw.eq(DeviceInfo::getAlgorithmId, AlgorithmTypeEnum.TY.getId());
         lqw.in(CollUtil.isNotEmpty(statusList), DeviceInfo::getThirdStatus, statusList);
         lqw.and(StrUtil.isNotEmpty(searchKey), wrapper -> wrapper