Merge remote-tracking branch 'origin/master'

This commit is contained in:
2025-03-25 20:39:46 +08:00
2 changed files with 3 additions and 2 deletions

View File

@ -121,9 +121,10 @@ public class AnnexController extends BaseController {
throw new BaseException("信息不存在");
}
List<String> list = Arrays.asList("1", "2");
List<String> notRecruitList = Arrays.asList("0");
String annexType = dto.getAnnexType();
LambdaQueryWrapper<Annex> wrapper = Wrappers.<Annex>lambdaQuery()
.eq(Annex::getRecruitId, byId.getRecruitId())
.eq(!notRecruitList.contains(annexType),Annex::getRecruitId, byId.getRecruitId())
.eq(Annex::getUserId, dto.getUserId())
.eq(Annex::getUserType, WGZ)
.eq(!"3".equals(annexType), Annex::getAnnexType, annexType)