mybatis注解开发
摘要:MyBatis中使用@Results注解来映射查询结果集到实体类属性。 (1)@Results的基本用法。当数据库字段名与实体类对应的属性名不一致时,可以使用@Results映射来将其对应起来。 column为数据库字段名,porperty为实体类属性名,jdbcType为数据库字段数据类型,id为
阅读全文
posted @ 2022-01-28 15:37
posted @ 2022-01-28 15:37
posted @ 2022-01-16 16:55
posted @ 2021-12-24 20:31
posted @ 2021-12-23 15:37