EverSpring

Results 1 comments of EverSpring

> 把自定义的处理程序类的全局限定符,通过mybatis-config.xml中的typeHandlers标签注册到mybatis中. 定义个resultMap标签, 在resultMap的子标签result中,通过typeHandler属性指定使用哪个处理程序类. 谢谢,通过对象来接收能够解决。想了解下,只有一个string类型怎么做到加解密呢?比如: ` select mobile from system_admin_user where id = #{id} ` ` mapper.selectOneById('明文') ` 这种情况有没有办法做到执行selectOneById sql查询的参数加密呢?