|
@@ -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
|