This commit is contained in:
zt
2025-03-25 20:33:45 +08:00
parent 489300abe3
commit f8c59e29e7
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)