|
@@ -1201,6 +1201,7 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
|
QueryWrapper<DeviceInfo> queryWrapper = new MybatisPlusQuery().eqWrapper(vo == null ? new DeviceInfoDto.Vo() : vo, DeviceInfo.class).buildQW();
|
|
|
// List<Long> placeLineIds = dto.getPlaceLineIds();
|
|
|
List<Long> deviceIds = dto.getDeviceIds();
|
|
|
+ List<Long> mercIds = dto.getMercIds();
|
|
|
List<String> columnList = dto.getColumnList();
|
|
|
// if (CollUtil.isNotEmpty(placeLineIds)) {
|
|
|
// queryWrapper.in(LambdaUtils.getUnderlineCaseName(DeviceInfo::getPlaceLineId), placeLineIds);
|
|
@@ -1219,6 +1220,9 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
|
if (CollUtil.isNotEmpty(deviceIds)) {
|
|
|
queryWrapper.in(LambdaUtils.getUnderlineCaseName(DeviceInfo::getDeviceId), deviceIds);
|
|
|
}
|
|
|
+ if (CollUtil.isNotEmpty(mercIds)) {
|
|
|
+ queryWrapper.in(LambdaUtils.getUnderlineCaseName(DeviceInfo::getMercId), mercIds);
|
|
|
+ }
|
|
|
return R.ok(copy(DeviceInfoDto.Vo.class, list(queryWrapper)));
|
|
|
}
|
|
|
|