mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
Merge branch 'main' of https://github.com/mybatis-flex/mybatis-flex
This commit is contained in:
commit
a7a41c3fc6
@ -88,7 +88,7 @@ abstract class AbstractRelation<SelfEntity> {
|
|||||||
|
|
||||||
//以使用者注解配置为主
|
//以使用者注解配置为主
|
||||||
this.targetTableInfo = StringUtil.isBlank(targetTable) ? TableInfoFactory.ofEntityClass(relationFieldWrapper.getMappingType()) : TableInfoFactory.ofTableName(targetTable);
|
this.targetTableInfo = StringUtil.isBlank(targetTable) ? TableInfoFactory.ofEntityClass(relationFieldWrapper.getMappingType()) : TableInfoFactory.ofTableName(targetTable);
|
||||||
this.targetSchema = targetSchema;
|
this.targetSchema = targetTableInfo != null ? targetTableInfo.getSchema() : targetSchema;
|
||||||
this.targetTable = targetTableInfo != null ? targetTableInfo.getTableName() : targetTable;
|
this.targetTable = targetTableInfo != null ? targetTableInfo.getTableName() : targetTable;
|
||||||
|
|
||||||
//当指定了 valueField 的时候,一般是 String Integer 等基本数据类型
|
//当指定了 valueField 的时候,一般是 String Integer 等基本数据类型
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user