虽然我很讨厌低效的mybatis,没办法,搞java只能用它,虽然不能跨表、不能跨库,查询都这么费劲,谁让它生态好呢
var query = new QueryWrapper<SocietyMember>() .select("*") .lambda(); query = query.in(SocietyMember::getSocietyId, societyIds); var result = societyMemberService.list(query);
虽然我很讨厌低效的mybatis,没办法,搞java只能用它,虽然不能跨表、不能跨库,查询都这么费劲,谁让它生态好呢
var query = new QueryWrapper<SocietyMember>() .select("*") .lambda(); query = query.in(SocietyMember::getSocietyId, societyIds); var result = societyMemberService.list(query);