修复bug
This commit is contained in:
parent
e381b5a5ae
commit
e844d4fb8a
@ -139,7 +139,8 @@ public class DatasetQuestionServiceImpl implements DatasetQuestionService {
|
||||
LambdaQueryWrapper<DatasetAnswerDO> queryWrapper = new LambdaQueryWrapper<>();
|
||||
queryWrapper.eq(datasetId!= null,DatasetAnswerDO::getDatasetId, datasetId);
|
||||
List<DatasetAnswerDO> datasetAnswerDOS = datasetAnswerMapper.selectList(queryWrapper);
|
||||
List<Long> collect = datasetAnswerDOS.stream().map(DatasetAnswerDO::getId).collect(Collectors.toList());
|
||||
// List<Long> collect = datasetAnswerDOS.stream().map(DatasetAnswerDO::getId).collect(Collectors.toList());
|
||||
List<Long> collect = updateReqVOS.stream().map(DatasetQuestionSaveReqVO::getId).collect(Collectors.toList());
|
||||
List<Long> diff1 = new ArrayList<>();
|
||||
if (CollectionUtils.isNotEmpty(collect)){
|
||||
HashSet<Long> set1 = new HashSet<>(ids);
|
||||
|
Loading…
x
Reference in New Issue
Block a user