mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +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
	 zefeng.zeng
					zefeng.zeng