|
@@ -508,7 +508,10 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
@ApiOperation("集合查询")
|
|
@ApiOperation("集合查询")
|
|
@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>().in(CollUtil.isNotEmpty(dto.getDeviceIds()), DeviceInfo::getDeviceId, dto.getDeviceIds()));
|
|
|
|
|
|
+ List<DeviceInfo> list = list(new LambdaQueryWrapper<DeviceInfo>()
|
|
|
|
+ .in(CollUtil.isNotEmpty(dto.getDeviceIds()), DeviceInfo::getDeviceId, dto.getDeviceIds())
|
|
|
|
+ .eq(Emptys.check(dto.getMercId()),DeviceInfo::getMercId,dto.getMercId())
|
|
|
|
+ );
|
|
return R.ok(copy(DeviceInfoDto.Vo.class, list));
|
|
return R.ok(copy(DeviceInfoDto.Vo.class, list));
|
|
}
|
|
}
|
|
|
|
|