mybatis复合查询

来源:互联网 发布:被动加粉软件 编辑:程序博客网 时间:2024/05/05 06:12

mybatis中的左连接,sql语句都需要正常写

<association property="属性名" javaType="实体类全路径">    <id column="数据库ID字段" property="实体类ID属性" />    <result column="数据库xx字段" property="实体类xx属性" /></association>
0 0