提交 b79b4b8f 编写于 作者: ibizdev's avatar ibizdev

ibiz4j 发布系统代码 [ibz-lite,应用]

上级 90133982
...@@ -140,14 +140,14 @@ public class MetaRelationship extends EntityMP implements Serializable { ...@@ -140,14 +140,14 @@ public class MetaRelationship extends EntityMP implements Serializable {
@JSONField(name = "lookups") @JSONField(name = "lookups")
@JsonProperty("lookups") @JsonProperty("lookups")
@TableField(value = "lookup" , typeHandler = cn.ibizlab.core.lite.domain.handlers.MetaLookupTypeHandler.class) @TableField(value = "lookup" , typeHandler = cn.ibizlab.core.lite.domain.handlers.MetaLookupTypeHandler.class)
private List<cn.ibizlab.core.lite.domain.MetaLookup> lookup; private List<cn.ibizlab.core.lite.domain.MetaLookup> lookups;
/** /**
* 设置 [lookup] * 设置 [lookup]
*/ */
public void setLookup(List<cn.ibizlab.core.lite.domain.MetaLookup> lookup) { public void setLookups(List<cn.ibizlab.core.lite.domain.MetaLookup> lookups) {
this.lookup = lookup; this.lookups = lookups;
this.modify("lookup", (lookup!=null)?lookup:(new ArrayList())); this.modify("lookup", (lookups!=null)?lookups:(new ArrayList()));
} }
/** /**
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<result property="entityId" column="entityid" /> <result property="entityId" column="entityid" />
<result property="refEntityId" column="refentityid" /> <result property="refEntityId" column="refentityid" />
<result property="lookup" column="lookup" typeHandler="cn.ibizlab.core.lite.domain.handlers.MetaLookupTypeHandler" /> <result property="lookups" column="lookup" typeHandler="cn.ibizlab.core.lite.domain.handlers.MetaLookupTypeHandler" />
<!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 --> <!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 -->
<association property="entity" javaType="cn.ibizlab.core.lite.domain.MetaEntity" column="entityid" select="cn.ibizlab.core.lite.mapper.MetaEntityMapper.selectById" fetchType="lazy"></association> <association property="entity" javaType="cn.ibizlab.core.lite.domain.MetaEntity" column="entityid" select="cn.ibizlab.core.lite.mapper.MetaEntityMapper.selectById" fetchType="lazy"></association>
......
...@@ -191,7 +191,7 @@ public class MetaRelationshipDTO extends DTOBase implements Serializable { ...@@ -191,7 +191,7 @@ public class MetaRelationshipDTO extends DTOBase implements Serializable {
*/ */
@JsonProperty("lookups") @JsonProperty("lookups")
@JSONField(name = "lookups") @JSONField(name = "lookups")
private List<lookupDTO> lookup ; private List<lookupDTO> lookups ;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册