2017年2月17日

多表关联时,新增数据要考虑的问题。

摘要: 有多张表有关联关系时,新增关系表RefOrganizationCustomer的数据时,如何获取Customer和Organiaztion的ID!!! mybatis的<insert>时,加上useGeneratedKeys属性,设为true,KeyProperty的值对应的是customer表对应 阅读全文

posted @ 2017-02-17 18:32 三碗才能饱 阅读(337) 评论(0) 推荐(0) 编辑

导航