优化
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user