|
@@ -105,6 +105,9 @@ public class TargetDemandService extends ServiceImpl<TargetDemandMapper, TargetD
|
|
}
|
|
}
|
|
|
|
|
|
List<TargetDemand> targetDemands = this.list(queryWrapper);
|
|
List<TargetDemand> targetDemands = this.list(queryWrapper);
|
|
|
|
+ if(targetDemands.isEmpty()){
|
|
|
|
+ return AjaxResult.success();
|
|
|
|
+ }
|
|
List<TargetDemandDTO> targetDemandDTOS = BizUtils.copyEntityToDto(TargetDemandDTO.class, targetDemands);
|
|
List<TargetDemandDTO> targetDemandDTOS = BizUtils.copyEntityToDto(TargetDemandDTO.class, targetDemands);
|
|
// 带上目标点位信息
|
|
// 带上目标点位信息
|
|
List<String> targetIds = targetDemandDTOS.stream().map(TargetDemandDTO::getTargetId).collect(Collectors.toList());
|
|
List<String> targetIds = targetDemandDTOS.stream().map(TargetDemandDTO::getTargetId).collect(Collectors.toList());
|