mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-23 23:45:08 +08:00
feat 新建LambdaQueryWrapperX,改成使用lambda的方式选择字段
This commit is contained in:
@ -13,7 +13,7 @@ import org.apache.ibatis.annotations.Mapper;
|
||||
public interface MbrUserMapper extends BaseMapperX<MbrUserDO> {
|
||||
|
||||
default MbrUserDO selectByMobile(String mobile) {
|
||||
return selectOne("mobile", mobile);
|
||||
return selectOne(MbrUserDO::getMobile, mobile);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user