This commit is contained in:
zt
2025-03-25 18:27:39 +08:00
parent 1531913a43
commit 489300abe3
9 changed files with 79902 additions and 16 deletions

View File

@ -159,7 +159,7 @@ public class AnnexServiceImpl extends ServicePlusImpl<AnnexMapper, Annex> implem
@Override
public void deleteByUserIdAndRecruitIdAndType(List<Long> userIds, Long recruitId, String type) {
baseMapper.delete(Wrappers.<Annex>lambdaQuery().in(Annex::getUserId,userIds)
baseMapper.delete(Wrappers.<Annex>lambdaUpdate().in(Annex::getUserId,userIds)
.eq(Annex::getRecruitId,recruitId).eq(Annex::getAnnexType,type).eq(Annex::getUserType,WGZ));
}