We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.4.3
在使用mybatis-plus3.4.3的时候,在实体类已经加上autoResultMap = true,相关字段phone上也加上了@TableField(typeHandler = EncAndSensMobile.class),但是再用lambdaQuery的时候没有走这个handler逻辑,这个handler是对phone手机号码做加密解密的
用mybatisplus的saveorupdate()方法更新或者插入没有问题,但是用lambdaQuery查询就不会走这个handler逻辑, 如果直接在XML文件里面用sql语句然后使用resultMap里面加上typehandler也没有问题, 我想问下是3.4.3版本就不支持lambdaQuery这种查询方式使用typeHandler吗?
1
The text was updated successfully, but these errors were encountered:
手动处理
Sorry, something went wrong.
No branches or pull requests
确认
当前程序版本
3.4.3
问题描述
在使用mybatis-plus3.4.3的时候,在实体类已经加上autoResultMap = true,相关字段phone上也加上了@TableField(typeHandler = EncAndSensMobile.class),但是再用lambdaQuery的时候没有走这个handler逻辑,这个handler是对phone手机号码做加密解密的
用mybatisplus的saveorupdate()方法更新或者插入没有问题,但是用lambdaQuery查询就不会走这个handler逻辑, 如果直接在XML文件里面用sql语句然后使用resultMap里面加上typehandler也没有问题, 我想问下是3.4.3版本就不支持lambdaQuery这种查询方式使用typeHandler吗?
详细堆栈日志
The text was updated successfully, but these errors were encountered: