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