mybatis表关联查询_MySQL
程序员文章站
2022-04-04 10:12:30
...
作三张表的关联查询
二、java类定义
cfm_requirement_vendor_date为cfm_requirement_vendor的子表
cfm_requirement_vendor为cfm_requirement的子表
一、mybatis映射文件定义
二、java类定义
1、mapper.java
List
2、持久化对象
public class NestedRequirement extends Requirement { private ListrequirementVendorList; public List getRequirementVendorList() { return requirementVendorList; } public void setRequirementVendorList( List requirementVendorList) { this.requirementVendorList = requirementVendorList; } }
上一篇: css animate不循环怎么办