提交 2fb84b86 编写于 作者: chenxiang@lab.ibiz5.com's avatar chenxiang@lab.ibiz5.com

多继承关系(虚拟实体) 关系暂时以继承处理

上级 185421c6
......@@ -588,6 +588,10 @@ public class EntityModel extends BaseModel {
if (dataEntity.getMinorPSDERs() != null) {
for (IPSDERBase der : dataEntity.getMinorPSDERs()) {
if (dataEntity.getName().equals("IBIZCUSTOMERMG")
|| dataEntity.getName().equals("IBIZCUSTOMER")) {
System.out.println(dataEntity.getName());
}
RelationshipModel rel = new RelationshipModel(this, der);
rel.setRelationType("reference").setCodeName(der.getCodeName()).setEntityId(der.getMajorPSDataEntity().getId())
.setEntityCodeName(der.getMajorPSDataEntity().getCodeName()).setEntityName(der.getMajorPSDataEntity().getName())
......@@ -633,12 +637,8 @@ public class EntityModel extends BaseModel {
else if (der instanceof IPSDERAggData) {
continue;
}
//多继承关系(虚拟实体) 暂时忽略
else if (der instanceof IPSDERMultiInherit) {
continue;
}
if ("DERINHERIT".equals(der.getDERType())) {
if ("DERINHERIT".equals(der.getDERType()) || "DERMULINH".equals(der.getDERType())) {
rel.setRelationType("inherit");
this.setIndexRelation(rel);
} else if ("DERINDEX".equals(der.getDERType())//&& der.getMajorPSDataEntity().getVirtualMode()!=3
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册