|
@@ -778,7 +778,7 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
@Override
|
|
@Override
|
|
public R<List<DeviceInfoDto.Vo>> list(DeviceInfoDto.ListDto dto) {
|
|
public R<List<DeviceInfoDto.Vo>> list(DeviceInfoDto.ListDto dto) {
|
|
List<DeviceInfo> list = list(new LambdaQueryWrapper<DeviceInfo>()
|
|
List<DeviceInfo> list = list(new LambdaQueryWrapper<DeviceInfo>()
|
|
- .eq(DeviceInfo::getFreezeStatus, dto.getFreezeStatus())
|
|
|
|
|
|
+ .eq(Emptys.check(dto.getFreezeStatus()), DeviceInfo::getFreezeStatus, dto.getFreezeStatus())
|
|
.in(CollUtil.isNotEmpty(dto.getDeviceIds()), DeviceInfo::getDeviceId, dto.getDeviceIds())
|
|
.in(CollUtil.isNotEmpty(dto.getDeviceIds()), DeviceInfo::getDeviceId, dto.getDeviceIds())
|
|
.eq(Emptys.check(dto.getMercId()), DeviceInfo::getMercId, dto.getMercId())
|
|
.eq(Emptys.check(dto.getMercId()), DeviceInfo::getMercId, dto.getMercId())
|
|
);
|
|
);
|