dev-tmp1
luotaiqian 2026-08-18 13:45:42 +08:00
parent df51baf6c6
commit 41e4fb210a
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ public class PaperServiceImpl extends ServiceImpl<PaperMapper, PaperDO> implemen
@Override
@Transactional(rollbackFor = Exception.class)
public boolean bindQuestions(Long paperId, List<Long> questionIds) {
Db.remove(Wrappers.<PaperQuestionRelDO>lambdaQuery()
Db.remove(new LambdaQueryWrapper<PaperQuestionRelDO>()
.eq(PaperQuestionRelDO::getPaperId, paperId));
if (CollectionUtils.isEmpty(questionIds)) {
return true;