From f656724791ed1858a0aa7c095d4decd8e622e40b Mon Sep 17 00:00:00 2001 From: sunhongfei01 Date: Mon, 17 Nov 2025 09:03:29 +0800 Subject: [PATCH 1/4] =?UTF-8?q?chore(deps):=20=E6=9B=B4=E6=96=B0=E5=AE=89?= =?UTF-8?q?=E5=85=A8=E5=85=A5=E5=8F=A3API=E4=BE=9D=E8=B5=96=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 caf-framework-securityentry-api 版本从3.0.0-rc.1 更新至0.2.56 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index cdc8fb4d..819d6b97 100644 --- a/pom.xml +++ b/pom.xml @@ -176,7 +176,7 @@ io.iec.edp caf-framework-securityentry-api - 3.0.0-rc.1 + 0.2.56 io.iec.edp -- Gitee From 6aace6dda03c4ea9ee00eef2e36a57cbffa0f34b Mon Sep 17 00:00:00 2001 From: sunhongfei01 Date: Mon, 17 Nov 2025 14:14:46 +0800 Subject: [PATCH 2/4] =?UTF-8?q?feat(entity-framework):=20=E5=A2=9E?= =?UTF-8?q?=E5=BC=BA=E5=AE=9E=E4=BD=93=E8=B5=84=E6=BA=90=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E5=92=8C=E6=94=AF=E6=8C=81=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=90=8D=E7=A7=B0=20-=20=E5=9C=A8=20BefEntit?= =?UTF-8?q?yResInfoImpl=20=E5=92=8C=20BefModelResInfoImpl=20=E4=B8=AD?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9E=84=E9=80=A0=E5=87=BD=E6=95=B0=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=AE=9E=E4=BD=93=E5=90=8D=E7=A7=B0=E4=BC=A0=E9=80=92?= =?UTF-8?q?=20-=E4=B8=BA=20DataTypePropertyInfo=E3=80=81UniqueConstraintIn?= =?UTF-8?q?fo=20=E7=AD=89=E7=B1=BB=E6=B7=BB=E5=8A=A0=20defaultDisplayName?= =?UTF-8?q?=20=E5=AD=97=E6=AE=B5=E5=8F=8A=20Lombok=20=E6=B3=A8=E8=A7=A3=20?= =?UTF-8?q?-=20=E4=BF=AE=E6=94=B9=20CefEntityResInfoImpl=20=E4=B8=AD=20get?= =?UTF-8?q?DisplayName=E3=80=81getPropertyDispalyName=20=E7=AD=89=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E6=94=AF=E6=8C=81=E9=BB=98=E8=AE=A4=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=20-=E4=BC=98=E5=8C=96=20CefModelResInfoImpl=20=E4=B8=AD=20getR?= =?UTF-8?q?esourceItemValue=20=E6=96=B9=E6=B3=95=E9=80=BB=E8=BE=91?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=BC=BA=E8=B5=84=E6=BA=90=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E6=97=B6=E7=9A=84=E9=BB=98=E8=AE=A4=E5=80=BC?= =?UTF-8?q?=E5=A4=84=E7=90=86=20-=20AssociationInfo=20=E5=A2=9E=E5=8A=A0ge?= =?UTF-8?q?tRefPropertyInfo=E6=96=B9=E6=B3=95=E6=94=AF=E6=8C=81=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=85=B3=E8=81=94=E5=B8=A6=E5=87=BA=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E7=9A=84propertyInfo=EF=BC=8C=E5=8E=9FgetRefPropertyInfo?= =?UTF-8?q?=E6=9B=B4=E5=90=8D=E4=B8=BAgetRefPropertyInfoFromRefEntity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../builtinimpls/BefEntityResInfoImpl.java | 12 ++ .../builtinimpls/BefModelResInfoImpl.java | 5 + .../edp/cef/spi/entity/AssociationInfo.java | 159 ++++++++---------- .../spi/entity/info/CefEntityTypeInfo.java | 9 + .../spi/entity/info/UniqueConstraintInfo.java | 34 +--- .../propertyinfo/DataTypePropertyInfo.java | 9 + .../builinImpls/CefEntityResInfoImpl.java | 74 ++++---- .../builinImpls/CefModelResInfoImpl.java | 58 ++++++- 8 files changed, 209 insertions(+), 151 deletions(-) diff --git a/business-entity-framework-spi/src/main/java/com/inspur/edp/bef/spi/entity/builtinimpls/BefEntityResInfoImpl.java b/business-entity-framework-spi/src/main/java/com/inspur/edp/bef/spi/entity/builtinimpls/BefEntityResInfoImpl.java index 9dc2123b..c5aed274 100644 --- a/business-entity-framework-spi/src/main/java/com/inspur/edp/bef/spi/entity/builtinimpls/BefEntityResInfoImpl.java +++ b/business-entity-framework-spi/src/main/java/com/inspur/edp/bef/spi/entity/builtinimpls/BefEntityResInfoImpl.java @@ -59,6 +59,18 @@ public abstract class BefEntityResInfoImpl extends CefEntityResInfoImpl { super(entityCode, displayValueKey, modelResInfo, entityId); } + /** + * 构造函数 + * @param entityCode 实体编码 + * @param displayValueKey 实体名称资源项key + * @param modelResInfo 归属模型 + * @param entityId 实体ID + * @param entityName 实体名称 + */ + public BefEntityResInfoImpl(String entityCode, String displayValueKey, CefModelResInfoImpl modelResInfo, String entityId, String entityName) { + super(entityCode, displayValueKey, modelResInfo, entityId, entityName); + } + public HashMap getAfterCreateCodeRules() { if (afterCreateCodeRules == null) afterCreateCodeRules = new HashMap<>(); diff --git a/business-entity-framework-spi/src/main/java/com/inspur/edp/bef/spi/entity/builtinimpls/BefModelResInfoImpl.java b/business-entity-framework-spi/src/main/java/com/inspur/edp/bef/spi/entity/builtinimpls/BefModelResInfoImpl.java index 60f4e312..9c4fe6d1 100644 --- a/business-entity-framework-spi/src/main/java/com/inspur/edp/bef/spi/entity/builtinimpls/BefModelResInfoImpl.java +++ b/business-entity-framework-spi/src/main/java/com/inspur/edp/bef/spi/entity/builtinimpls/BefModelResInfoImpl.java @@ -47,6 +47,11 @@ public class BefModelResInfoImpl extends CefModelResInfoImpl { this.lockType = lockType; } + public BefModelResInfoImpl(String currentSu, String resMetadataId, String metaDataId, String displayKey, String metadataName, BefLockType lockType) { + super(currentSu, resMetadataId, metaDataId, displayKey, metadataName); + this.lockType = lockType; + } + public BefLockType getLockType() { return lockType; } diff --git a/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/AssociationInfo.java b/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/AssociationInfo.java index 7f7050f0..2221694b 100644 --- a/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/AssociationInfo.java +++ b/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/AssociationInfo.java @@ -24,6 +24,8 @@ import com.inspur.edp.cef.spi.entity.resourceInfo.builinImpls.CefModelResInfoImp import com.inspur.edp.cef.spi.exception.ExceptionCode; import com.inspur.edp.cef.spi.manager.ModelResInfoService; import io.iec.edp.caf.commons.utils.SpringBeanUtils; +import lombok.Getter; +import lombok.Setter; import java.util.ArrayList; import java.util.HashMap; @@ -40,18 +42,30 @@ public class AssociationInfo { /** * 是否启用外键检查 */ + @Setter + @Getter private AssociationEnableState enableState = AssociationEnableState.Enabled; /** * 是否启用删除检查 */ + @Setter + @Getter private DeleteCheckState deleteCheckState = DeleteCheckState.Enabled; + @Setter + @Getter private String privateSourceColumn; + @Setter + @Getter private String privateTargetColumn; private TreeMap refPropInfos; private TreeMap enrichedRefPropInfos; private boolean keepAssoPropertyForExpression = false; private boolean isRefInit = false; + @Setter + @Getter private String where; + @Setter + @Getter private ArrayList assoConditions; /**模型国际化资源信息服务*/ private ModelResInfoService modelResInfoService; @@ -70,33 +84,6 @@ public class AssociationInfo { this.privateSourceColumn = privateSourceColumn; this.privateTargetColumn = privateTargetColumn; } - - public DeleteCheckState getDeleteCheckState() { - return deleteCheckState; - } - - public void setDeleteCheckState(DeleteCheckState deleteCheckState) { - this.deleteCheckState = deleteCheckState; - } - - public ArrayList getAssoConditions() { - return assoConditions; - } - - public void setAssoConditions(ArrayList assoConditions) { - this.assoConditions = assoConditions; - } - - - public String getWhere() { - return where; - } - - public void setWhere(String where) { - this.where = where; - } - - public final String getConfig() { return config; } @@ -121,36 +108,12 @@ public class AssociationInfo { mainCode = value; } - public AssociationEnableState getEnableState() { - return enableState; - } - - public void setEnableState(AssociationEnableState value) { - enableState = value; - } - - public String getPrivateSourceColumn() { - return privateSourceColumn; - } - - public void setPrivateSourceColumn(String privateSourceColumn) { - this.privateSourceColumn = privateSourceColumn; - } - - public String getPrivateTargetColumn() { - return privateTargetColumn; - } - - public void setPrivateTargetColumn(String privateTargetColumn) { - this.privateTargetColumn = privateTargetColumn; - } - /** * 关联带出字段(Key:属性名,Value:typeof(propInfo)) */ - public java.util.HashMap getRefPropInfoTypes() { + public HashMap getRefPropInfoTypes() { if (refPropInfoTypes == null) { - refPropInfoTypes = new java.util.HashMap(); + refPropInfoTypes = new HashMap<>(); } return refPropInfoTypes; } @@ -165,22 +128,25 @@ public class AssociationInfo { * 初始化带出字段 */ private void tryInitRefProperties() { - if (isRefInit == true) + if (isRefInit) { return; + } boolean hasPropNotInit = false; //这个地方为什么是 i<5?,怕并发应该加并发控制 for (int i = 0; i < 5; i++) { hasPropNotInit = false; for (Map.Entry entry : innerGetRefPropInfos().entrySet()) { - if (entry.getValue() instanceof RefDataTypePropertyInfo == false) + if (!(entry.getValue() instanceof RefDataTypePropertyInfo)) { continue; + } RefDataTypePropertyInfo refDataTypePropertyInfo = (RefDataTypePropertyInfo) entry.getValue(); - if (refDataTypePropertyInfo == null || refDataTypePropertyInfo.isRefInit()) + if (refDataTypePropertyInfo.isRefInit()) { continue; + } DataTypePropertyInfo refedDataTypePropertyInfo = getRefedDataTypePropertyInfo(refDataTypePropertyInfo.getRefPropertyName()); if (refedDataTypePropertyInfo instanceof RefDataTypePropertyInfo) { RefDataTypePropertyInfo refDataTypePropertyInfo1 = (RefDataTypePropertyInfo) refedDataTypePropertyInfo; - if (refDataTypePropertyInfo1.isRefInit() == false) { + if (!refDataTypePropertyInfo1.isRefInit()) { hasPropNotInit = true; continue; } @@ -189,15 +155,17 @@ public class AssociationInfo { refDataTypePropertyInfo.setRefInit(true); } for (Map.Entry entry : innerGetEnrichedRefPropInfos().entrySet()) { - if (entry.getValue() instanceof RefDataTypePropertyInfo == false) + if (!(entry.getValue() instanceof RefDataTypePropertyInfo)) { continue; + } RefDataTypePropertyInfo refDataTypePropertyInfo = (RefDataTypePropertyInfo) entry.getValue(); - if (refDataTypePropertyInfo == null || refDataTypePropertyInfo.isRefInit()) + if (refDataTypePropertyInfo.isRefInit()) { continue; + } DataTypePropertyInfo refedDataTypePropertyInfo = getRefedDataTypePropertyInfo(refDataTypePropertyInfo.getRefPropertyName()); if (refedDataTypePropertyInfo instanceof RefDataTypePropertyInfo) { RefDataTypePropertyInfo refDataTypePropertyInfo1 = (RefDataTypePropertyInfo) refedDataTypePropertyInfo; - if (refDataTypePropertyInfo1.isRefInit() == false) { + if (!refDataTypePropertyInfo1.isRefInit()) { hasPropNotInit = true; continue; } @@ -205,19 +173,20 @@ public class AssociationInfo { DataTypePropertyInfo.setPropertyInfoByRefed(refDataTypePropertyInfo, refedDataTypePropertyInfo); refDataTypePropertyInfo.setRefInit(true); } - if (hasPropNotInit == false) + if (!hasPropNotInit) { break; + } } - if (hasPropNotInit) + if (hasPropNotInit) { throw new CefRuntimeBaseException(ExceptionCode.CEF_RUNTIME_3001); - + } isRefInit = true; } private TreeMap innerGetRefPropInfos() { if (refPropInfos == null) { - refPropInfos = new TreeMap(String.CASE_INSENSITIVE_ORDER); + refPropInfos = new TreeMap<>(String.CASE_INSENSITIVE_ORDER); } return refPropInfos; @@ -234,7 +203,7 @@ public class AssociationInfo { private TreeMap innerGetEnrichedRefPropInfos() { if (enrichedRefPropInfos == null) { - enrichedRefPropInfos = new TreeMap(String.CASE_INSENSITIVE_ORDER); + enrichedRefPropInfos = new TreeMap<>(String.CASE_INSENSITIVE_ORDER); } return enrichedRefPropInfos; @@ -248,13 +217,11 @@ public class AssociationInfo { addRefProperty(propertyName, "", refPropertyName); } -// public final void addRefProperty(String propertyName,String refPropertyName) - public final void addRefProperty(String propertyName, String propertyDisplayKey, String refPropertyName) { - addRefProp(propertyName, initRefProeprty(propertyName, propertyDisplayKey, refPropertyName)); + addRefProp(propertyName, initRefProperty(propertyName, propertyDisplayKey, refPropertyName)); } - private RefDataTypePropertyInfo initRefProeprty(String propertyName, String propertyDisplayKey, String refPropertyName) { + private RefDataTypePropertyInfo initRefProperty(String propertyName, String propertyDisplayKey, String refPropertyName) { RefDataTypePropertyInfo refDataTypePropertyInfo = new RefDataTypePropertyInfo(propertyName, propertyDisplayKey, false, false, 0, 0, FieldType.String, ObjectType.Normal, null, null, refPropertyName); refDataTypePropertyInfo.setRefInit(false); return refDataTypePropertyInfo; @@ -278,25 +245,23 @@ public class AssociationInfo { } private DataTypePropertyInfo getRefedDataTypePropertyInfo(String refPropertyName) { - //CefModelResInfoImpl modelResInfo = (CefModelResInfoImpl) ((IStandardLcp) LcpFactoryManagerUtils - // .getBefLcpFactory().createCMManager(config)).getModelInfo(); ModelResInfoService modelResInfoService = this.getModelResInfoService(); CefModelResInfoImpl modelResInfo = (CefModelResInfoImpl) modelResInfoService.getModelInfo(config); - CefEntityResInfoImpl entityResInfo = null; + CefEntityResInfoImpl entityResInfo; try { - entityResInfo = (CefEntityResInfoImpl) modelResInfo - .getCustomResource(getNodeCode()); + entityResInfo = (CefEntityResInfoImpl) modelResInfo.getCustomResource(getNodeCode()); } catch (Exception e) { - entityResInfo = (CefEntityResInfoImpl) modelResInfo - .getCustomResource(getMainCode()); + entityResInfo = (CefEntityResInfoImpl) modelResInfo.getCustomResource(getMainCode()); } DataTypePropertyInfo dataTypePropertyInfo = entityResInfo.getEntityTypeInfo() .getPropertyInfoWithoutCache(refPropertyName); - if (dataTypePropertyInfo == null) - dataTypePropertyInfo = getRefPropertyInfo(entityResInfo, refPropertyName); + if (dataTypePropertyInfo == null) { + dataTypePropertyInfo = getRefPropertyInfoFromRefEntity(entityResInfo, refPropertyName); + } - if (dataTypePropertyInfo == null) + if (dataTypePropertyInfo == null) { throw new CefRuntimeBaseException(ExceptionCode.CEF_RUNTIME_3003, refPropertyName, getConfig(), getNodeCode(), getPrivateSourceColumn()); + } return dataTypePropertyInfo; } @@ -310,21 +275,45 @@ public class AssociationInfo { return this.modelResInfoService; } - private DataTypePropertyInfo getRefPropertyInfo(CefEntityResInfoImpl entityResInfo, String refPropertyName) { + /** + * 获取关联带出字段 + * @param refPropertyName 关联带出字段Code + * @return 带出字段信息 + */ + public DataTypePropertyInfo getRefPropertyInfo(String refPropertyName) { + for (Map.Entry refPropertyEntry : this.getRefPropInfos().entrySet()) { + if (refPropertyEntry.getValue().getPropertyName().equals(refPropertyName)) { + return refPropertyEntry.getValue(); + } + } + + if (this.getEnrichedRefPropInfos() != null && !this.getEnrichedRefPropInfos().isEmpty()) { + for (Map.Entry refPropertyEntry : this.getEnrichedRefPropInfos().entrySet()) { + if (refPropertyEntry.getValue().getPropertyName().equals(refPropertyName)) { + return refPropertyEntry.getValue(); + } + } + } + return null; + } + + private DataTypePropertyInfo getRefPropertyInfoFromRefEntity(CefEntityResInfoImpl entityResInfo, String refPropertyName) { for (Map.Entry propertyInfoEntry : entityResInfo.getEntityTypeInfo().getPropertyInfos().entrySet()) { if (refPropertyName.equals(propertyInfoEntry.getValue().getPropertyName())) return propertyInfoEntry.getValue(); if (propertyInfoEntry.getValue().getObjectInfo() instanceof AssocationPropertyInfo) { AssociationInfo associationInfo = ((AssocationPropertyInfo) propertyInfoEntry.getValue().getObjectInfo()).getAssociationInfo(); for (Map.Entry refPropertyEntry : associationInfo.getRefPropInfos().entrySet()) { - if (refPropertyEntry.getValue().getPropertyName().equals(refPropertyName)) + if (refPropertyEntry.getValue().getPropertyName().equals(refPropertyName)) { return refPropertyEntry.getValue(); + } } - if (associationInfo.getEnrichedRefPropInfos() != null && associationInfo.getEnrichedRefPropInfos().size() != 0) { + if (associationInfo.getEnrichedRefPropInfos() != null && !associationInfo.getEnrichedRefPropInfos().isEmpty()) { for (Map.Entry refPropertyEntry : associationInfo.getEnrichedRefPropInfos().entrySet()) { - if (refPropertyEntry.getValue().getPropertyName().equals(refPropertyName)) + if (refPropertyEntry.getValue().getPropertyName().equals(refPropertyName)) { return refPropertyEntry.getValue(); + } } } } @@ -335,7 +324,7 @@ public class AssociationInfo { return refPropertyEntry.getValue(); } - if (associationInfo.getEnrichedRefPropInfos() != null && associationInfo.getEnrichedRefPropInfos().size() != 0) { + if (associationInfo.getEnrichedRefPropInfos() != null && !associationInfo.getEnrichedRefPropInfos().isEmpty()) { for (Map.Entry refPropertyEntry : associationInfo.getEnrichedRefPropInfos().entrySet()) { if (refPropertyEntry.getValue().getPropertyName().equals(refPropertyName)) return refPropertyEntry.getValue(); @@ -351,7 +340,7 @@ public class AssociationInfo { } public final void addEnrichedRefProperty(String propertyName, String propertyDisplayKey, String refPropertyName) { - addEnrichedRefProp(propertyName, initRefProeprty(propertyName, propertyDisplayKey, refPropertyName)); + addEnrichedRefProp(propertyName, initRefProperty(propertyName, propertyDisplayKey, refPropertyName)); } public final boolean isKeepAssoPropertyForExpression() { diff --git a/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/info/CefEntityTypeInfo.java b/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/info/CefEntityTypeInfo.java index 9dbd3234..88ad4a04 100644 --- a/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/info/CefEntityTypeInfo.java +++ b/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/info/CefEntityTypeInfo.java @@ -16,6 +16,8 @@ package com.inspur.edp.cef.spi.entity.info; +import lombok.Getter; + import java.util.HashMap; import java.util.Map; @@ -25,11 +27,18 @@ import java.util.Map; public final class CefEntityTypeInfo extends CefDataTypeInfo { private final String entityCode; + @Getter + private final String entityName; private Map uniqueConstraintInfos = new HashMap<>(); public CefEntityTypeInfo(String entityCode, String displayValueKey) { + this(entityCode, "", displayValueKey); + } + + public CefEntityTypeInfo(String entityCode, String entityName, String displayValueKey) { super(displayValueKey); this.entityCode = entityCode; + this.entityName = entityName; } public Map getUniqueConstraintInfos() { diff --git a/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/info/UniqueConstraintInfo.java b/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/info/UniqueConstraintInfo.java index 57bcbb99..c6efac41 100644 --- a/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/info/UniqueConstraintInfo.java +++ b/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/info/UniqueConstraintInfo.java @@ -16,35 +16,19 @@ package com.inspur.edp.cef.spi.entity.info; +import lombok.Getter; +import lombok.Setter; + import java.util.ArrayList; +@Getter +@Setter public class UniqueConstraintInfo { - private String nodeCode; private ArrayList fields; private String displayValueKey; - - public ArrayList getFields() { - return fields; - } - - public void setFields(ArrayList fields) { - this.fields = fields; - } - - public String getNodeCode() { - return nodeCode; - } - - public void setNodeCode(String nodeCode) { - this.nodeCode = nodeCode; - } - - public String getDisplayValueKey() { - return displayValueKey; - } - - public void setDisplayValueKey(String displayValueKey) { - this.displayValueKey = displayValueKey; - } + /** + * 默认显示名称(资源项无法获取名称时使用) + */ + private String defaultDisplayName = ""; } diff --git a/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/info/propertyinfo/DataTypePropertyInfo.java b/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/info/propertyinfo/DataTypePropertyInfo.java index 94e8f12b..4f063933 100644 --- a/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/info/propertyinfo/DataTypePropertyInfo.java +++ b/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/info/propertyinfo/DataTypePropertyInfo.java @@ -33,6 +33,8 @@ import com.inspur.edp.cef.spi.jsonser.base.StringUtils; import com.inspur.edp.cef.spi.jsonser.util.SerializerUtil; import com.inspur.edp.cef.spi.repository.entity.FieldReposConfigInfo; import com.inspur.edp.cef.spi.repository.entity.TableNameReposConfigInfo; +import lombok.Getter; +import lombok.Setter; import java.io.IOException; import java.math.BigDecimal; @@ -52,6 +54,13 @@ public class DataTypePropertyInfo { private String displayValueKey; + /** + * 字段默认显示名称 + */ + @Getter + @Setter + private String defaultDisplayName; + /** * 是否必填属性 */ diff --git a/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/resourceInfo/builinImpls/CefEntityResInfoImpl.java b/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/resourceInfo/builinImpls/CefEntityResInfoImpl.java index a1a4d08c..e79d1b36 100644 --- a/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/resourceInfo/builinImpls/CefEntityResInfoImpl.java +++ b/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/resourceInfo/builinImpls/CefEntityResInfoImpl.java @@ -42,10 +42,10 @@ import java.util.concurrent.ConcurrentHashMap; public abstract class CefEntityResInfoImpl extends EntityResInfo { - private CefEntityTypeInfo entityTypeInfo; + private final CefEntityTypeInfo entityTypeInfo; private Map childEntityResInfos; - private CefModelResInfoImpl modelResInfo; - private String entityId; + private final CefModelResInfoImpl modelResInfo; + private final String entityId; private List sorts; private ArrayList propertyNames; @@ -57,8 +57,22 @@ public abstract class CefEntityResInfoImpl extends EntityResInfo { public CefEntityResInfoImpl(String entityCode, String displayValueKey, CefModelResInfoImpl modelResInfo, String entityId) { + this(entityCode, displayValueKey, modelResInfo, entityId, ""); + } + + /** + * 实体对象信息, 携带对象名称 + *

解析型支持传入对象名称,当获取对象展示名称时,若根据资源元数据获取不到则使用指定的对象名称

+ * @param entityCode 实体对象编码 + * @param displayValueKey 实体展示名称资源项Key + * @param modelResInfo 模型对象信息 + * @param entityId 实体对象Id + * @param entityName 对象名称 + */ + public CefEntityResInfoImpl(String entityCode, String displayValueKey, + CefModelResInfoImpl modelResInfo, String entityId, String entityName) { this.entityId = entityId; - entityTypeInfo = new CefEntityTypeInfo(entityCode, displayValueKey); + entityTypeInfo = new CefEntityTypeInfo(entityCode, entityName, displayValueKey); this.modelResInfo = modelResInfo; initColumns(); initUQConstraintInfos(); @@ -188,13 +202,13 @@ public abstract class CefEntityResInfoImpl extends EntityResInfo { @Override public final String getUniqueConstraintMessage(String uniqueConCode) { - return modelResInfo.getResourceItemValue( - entityTypeInfo.getUniqueConstraintInfos().get(uniqueConCode).getDisplayValueKey()); + UniqueConstraintInfo uniqueConstraintInfo = entityTypeInfo.getUniqueConstraintInfos().get(uniqueConCode); + return modelResInfo.getResourceItemValue(uniqueConstraintInfo.getDisplayValueKey(), uniqueConstraintInfo.getDefaultDisplayName()); } @Override - public final String getDisplayName() { - return modelResInfo.getResourceItemValue(entityTypeInfo.getDisplayValueKey()); + public String getDisplayName() { + return modelResInfo.getResourceItemValue(entityTypeInfo.getDisplayValueKey(), entityTypeInfo.getEntityName()); } public final String getI18nPrefix() { @@ -204,8 +218,9 @@ public abstract class CefEntityResInfoImpl extends EntityResInfo { @Override public String getPropertyDispalyName(String labelId) { - String resourceKey = entityTypeInfo.getPropertyInfos().get(labelId).getDisplayValueKey(); - return modelResInfo.getResourceItemValue(resourceKey); + DataTypePropertyInfo propertyInfo = entityTypeInfo.getPropertyInfos().get(labelId); + String resourceKey = propertyInfo.getDisplayValueKey(); + return modelResInfo.getResourceItemValue(resourceKey, propertyInfo.getDefaultDisplayName()); } @Override @@ -213,37 +228,29 @@ public abstract class CefEntityResInfoImpl extends EntityResInfo { DataTypePropertyInfo info = entityTypeInfo.getPropertyInfos().get(labelId); if (info != null) { if (info.getObjectType() == ObjectType.Enum) { - return modelResInfo.getResourceItemValue( - ((EnumPropertyInfo) info.getObjectInfo()).getEnumValueInfo(enumKey) - .getDisplayValueKey()); + EnumValueInfo enumValueInfo = ((EnumPropertyInfo) info.getObjectInfo()).getEnumValueInfo(enumKey); + return modelResInfo.getResourceItemValue(enumValueInfo.getDisplayValueKey(), enumValueInfo.getDefaultName()); } else if (info.getObjectInfo() instanceof SimpleEnumUdtPropertyInfo) { - return modelResInfo.getResourceItemValue( - (((SimpleEnumUdtPropertyInfo) info.getObjectInfo()).getEnumInfo()) - .getEnumValueInfo(enumKey) - .getDisplayValueKey()); + EnumValueInfo enumValueInfo = (((SimpleEnumUdtPropertyInfo) info.getObjectInfo()).getEnumInfo()) + .getEnumValueInfo(enumKey); + return modelResInfo.getResourceItemValue(enumValueInfo.getDisplayValueKey(), enumValueInfo.getDefaultName()); } } throw new CefRuntimeBaseException(ExceptionCode.CEF_RUNTIME_3014, labelId); } @Override - public String getAssoRefEnumPropertyDisplayValue(String labelId, String refEleCode, - String enumKey) { + public String getAssoRefEnumPropertyDisplayValue(String labelId, String refEleCode, String enumKey) { DataTypePropertyInfo dataTypePropertyInfo = entityTypeInfo.getPropertyInfo(labelId); - AssocationPropertyInfo associationPropertyInfo = (AssocationPropertyInfo) dataTypePropertyInfo - .getObjectInfo(); - DataTypePropertyInfo info = associationPropertyInfo.getAssociationInfo().getRefPropInfos() - .get(refEleCode); + AssocationPropertyInfo associationPropertyInfo = (AssocationPropertyInfo) dataTypePropertyInfo.getObjectInfo(); + DataTypePropertyInfo info = associationPropertyInfo.getAssociationInfo().getRefPropInfos().get(refEleCode); if (info.getObjectType() == ObjectType.Enum) { - return modelResInfo.getResourceItemValue( - ((EnumPropertyInfo) info.getObjectInfo()).getEnumValueInfo(enumKey) - .getDisplayValueKey()); + EnumValueInfo enumValueInfo = ((EnumPropertyInfo) info.getObjectInfo()).getEnumValueInfo(enumKey); + return modelResInfo.getResourceItemValue(enumValueInfo.getDisplayValueKey(), enumValueInfo.getDefaultName()); } else if (info.getObjectInfo() instanceof SimpleEnumUdtPropertyInfo) { - return modelResInfo.getResourceItemValue( - (((SimpleEnumUdtPropertyInfo) info.getObjectInfo()).getEnumInfo()) - .getEnumValueInfo(enumKey) - .getDisplayValueKey()); + EnumValueInfo enumValueInfo = (((SimpleEnumUdtPropertyInfo) info.getObjectInfo()).getEnumInfo()).getEnumValueInfo(enumKey); + return modelResInfo.getResourceItemValue(enumValueInfo.getDisplayValueKey(), enumValueInfo.getDefaultName()); } throw new CefRuntimeBaseException(ExceptionCode.CEF_RUNTIME_3014, labelId); } @@ -269,11 +276,10 @@ public abstract class CefEntityResInfoImpl extends EntityResInfo { @Override public String getAssoRefPropertyDisplay(String labelId, String refEleCode) { DataTypePropertyInfo dataTypePropertyInfo = entityTypeInfo.getPropertyInfo(labelId); -// AssocationPropertyInfo associationPropertyInfo = (AssocationPropertyInfo) dataTypePropertyInfo -// .getObjectInfo(); + AssocationPropertyInfo associationPropertyInfo = (AssocationPropertyInfo) dataTypePropertyInfo.getObjectInfo(); + DataTypePropertyInfo refPropertyInfo = associationPropertyInfo.getAssociationInfo().getRefPropertyInfo(refEleCode); //关联带出字段 - String displayKey = this.getDisplayPrefix() + "." + labelId + "." + refEleCode + ".Name"; - return this.modelResInfo.getResourceItemValue(displayKey); + return this.modelResInfo.getResourceItemValue(refPropertyInfo.getDisplayValueKey(), refPropertyInfo.getDefaultDisplayName()); } protected final void addChildEntityResInfo(EntityResInfo info) { diff --git a/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/resourceInfo/builinImpls/CefModelResInfoImpl.java b/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/resourceInfo/builinImpls/CefModelResInfoImpl.java index 16ac43eb..0476a5f7 100644 --- a/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/resourceInfo/builinImpls/CefModelResInfoImpl.java +++ b/common-entity-framework-spi/src/main/java/com/inspur/edp/cef/spi/entity/resourceInfo/builinImpls/CefModelResInfoImpl.java @@ -17,11 +17,13 @@ package com.inspur.edp.cef.spi.entity.resourceInfo.builinImpls; import com.inspur.edp.cef.api.CefRtBeanUtil; -import com.inspur.edp.cef.api.message.CefException; import com.inspur.edp.cef.entity.exception.CefRuntimeBaseException; import com.inspur.edp.cef.spi.entity.resourceInfo.EntityResInfo; import com.inspur.edp.cef.spi.entity.resourceInfo.ModelResInfo; import com.inspur.edp.cef.spi.exception.ExceptionCode; +import io.iec.edp.caf.commons.utils.StringUtils; +import lombok.Getter; +import lombok.extern.slf4j.Slf4j; import java.util.HashMap; import java.util.Map; @@ -30,6 +32,7 @@ import java.util.Stack; /** * 模型通用信息 */ +@Slf4j public abstract class CefModelResInfoImpl extends ModelResInfo { /** @@ -54,16 +57,36 @@ public abstract class CefModelResInfoImpl extends ModelResInfo { private EntityResInfo rootEntityResInfo; private Map entityResInfoMap; + /** + * 元数据名称 + */ + @Getter + private final String metadataName; + public CefModelResInfoImpl(String currentSu, String resMetadataId, String displayKey) { this(currentSu, resMetadataId, "", displayKey); } public CefModelResInfoImpl(String currentSu, String resMetadataId, String metaDataId, String displayKey) { + this(currentSu, resMetadataId, metaDataId, displayKey, ""); + } + + /** + * 模型通用信息 + * @param currentSu 当前模型所属SU + * @param resMetadataId 资源元数据ID + * @param metaDataId 元数据ID + * @param displayKey 元数据名称资源项key + * @param metadataName 元数据名称(若资源项无法找到,则使用) + */ + public CefModelResInfoImpl(String currentSu, String resMetadataId, String metaDataId, String displayKey, + String metadataName) { this.currentSu = currentSu; this.resMetadataId = resMetadataId; this.metaDataId = metaDataId; this.displayKey = displayKey; + this.metadataName = metadataName; } @Override @@ -87,12 +110,12 @@ public abstract class CefModelResInfoImpl extends ModelResInfo { /** * 模型名称 - * - * @return + *

根据资源项获取,若资源项中未找到,则使用默认元数据模型名称

+ * @return 模型名称 */ @Override public String getModelDispalyName() { - return getResourceItemValue(displayKey); + return getResourceItemValue(displayKey, metadataName); } /** @@ -120,14 +143,35 @@ public abstract class CefModelResInfoImpl extends ModelResInfo { } public final String getResourceItemValue(String resourceKey) { - String resValue = ""; try { - resValue = CefRtBeanUtil.getResourceItemValue(currentSu, resMetadataId, resourceKey); + return CefRtBeanUtil.getResourceItemValue(currentSu, resMetadataId, resourceKey); } catch (Exception ex) { String[] params = new String[]{currentSu, metaDataId, resMetadataId, resourceKey}; throw new CefRuntimeBaseException(ExceptionCode.CEF_RUNTIME_3032, ex, params); } - return resValue; + } + + /** + * 获取资源项值,若未获取到,则返回默认值 + * @param resourceKey 资源项key + * @param defaultValue 默认值 + * @return 获取资源项值,若未获取到,则返回默认值 + */ + public final String getResourceItemValue(String resourceKey, String defaultValue) { + try { + String resValue = getResourceItemValue(resourceKey); + if (!StringUtils.isEmpty(resValue)) { + return resValue; + } + } catch (Exception ex) { + log.error("根据[{}]未查询到对应的资源内容,使用默认值[{}]", resourceKey, defaultValue, ex); + return defaultValue == null? "" : defaultValue; + } + if (log.isDebugEnabled()) { + // 输出日志, newException以获取堆栈 + log.debug("根据[{}]未查询到对应的资源内容,使用默认值[{}]", resourceKey, defaultValue, new Exception()); + } + return defaultValue == null? "" : defaultValue; } /** -- Gitee From bcc02f6664b20478f006a2d8bd3e253bae9640fc Mon Sep 17 00:00:00 2001 From: GitLab CI Bot Date: Mon, 17 Nov 2025 06:23:37 +0000 Subject: [PATCH 3/4] [maven-release-plugin] prepare release v0.3.6 --- business-entity-framework-api/pom.xml | 2 +- business-entity-framework-builtincompoents/pom.xml | 2 +- business-entity-framework-core/pom.xml | 5 ++--- business-entity-framework-entity/pom.xml | 2 +- business-entity-framework-spi/pom.xml | 2 +- cm-entity-framework-api/pom.xml | 2 +- cm-entity-framework-core/pom.xml | 2 +- cm-entity-framework-spi/pom.xml | 2 +- common-entity-framework-api/pom.xml | 2 +- common-entity-framework-core/pom.xml | 2 +- common-entity-framework-entity/pom.xml | 2 +- common-entity-framework-repository/pom.xml | 2 +- common-entity-framework-spi/pom.xml | 2 +- common-entity-framework-variable-api/pom.xml | 2 +- common-entity-framework-variable-core/pom.xml | 2 +- common-entity-framework-variable-spi/pom.xml | 2 +- pom.xml | 4 ++-- unified-datatype-api/pom.xml | 2 +- unified-datatype-core/pom.xml | 2 +- unified-datatype-entity/pom.xml | 2 +- unified-datatype-spi/pom.xml | 2 +- 21 files changed, 23 insertions(+), 24 deletions(-) diff --git a/business-entity-framework-api/pom.xml b/business-entity-framework-api/pom.xml index f8831cf9..a41ef4bc 100644 --- a/business-entity-framework-api/pom.xml +++ b/business-entity-framework-api/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/business-entity-framework-builtincompoents/pom.xml b/business-entity-framework-builtincompoents/pom.xml index 75134596..379028ef 100644 --- a/business-entity-framework-builtincompoents/pom.xml +++ b/business-entity-framework-builtincompoents/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/business-entity-framework-core/pom.xml b/business-entity-framework-core/pom.xml index 322daac5..b35b4ae4 100644 --- a/business-entity-framework-core/pom.xml +++ b/business-entity-framework-core/pom.xml @@ -15,15 +15,14 @@ ~ limitations under the License. --> - + 4.0.0 business-entity-framework-core business-entity-framework com.inspur.edp - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/business-entity-framework-entity/pom.xml b/business-entity-framework-entity/pom.xml index 5fee5dc3..52f12d65 100644 --- a/business-entity-framework-entity/pom.xml +++ b/business-entity-framework-entity/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/business-entity-framework-spi/pom.xml b/business-entity-framework-spi/pom.xml index 197af95e..4c28a661 100644 --- a/business-entity-framework-spi/pom.xml +++ b/business-entity-framework-spi/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/cm-entity-framework-api/pom.xml b/cm-entity-framework-api/pom.xml index 8443cbe8..46ab4776 100644 --- a/cm-entity-framework-api/pom.xml +++ b/cm-entity-framework-api/pom.xml @@ -22,7 +22,7 @@ com.inspur.edp business-entity-framework - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/cm-entity-framework-core/pom.xml b/cm-entity-framework-core/pom.xml index 1447738c..538d9113 100644 --- a/cm-entity-framework-core/pom.xml +++ b/cm-entity-framework-core/pom.xml @@ -22,7 +22,7 @@ com.inspur.edp business-entity-framework - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/cm-entity-framework-spi/pom.xml b/cm-entity-framework-spi/pom.xml index a29dbe0d..db82c80f 100644 --- a/cm-entity-framework-spi/pom.xml +++ b/cm-entity-framework-spi/pom.xml @@ -21,7 +21,7 @@ com.inspur.edp business-entity-framework - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/common-entity-framework-api/pom.xml b/common-entity-framework-api/pom.xml index 0d8a0c97..cc0d6194 100644 --- a/common-entity-framework-api/pom.xml +++ b/common-entity-framework-api/pom.xml @@ -20,7 +20,7 @@ business-entity-framework com.inspur.edp - 0.3.6-SNAPSHOT + 0.3.6 4.0.0 diff --git a/common-entity-framework-core/pom.xml b/common-entity-framework-core/pom.xml index bae2ea98..0427f5af 100644 --- a/common-entity-framework-core/pom.xml +++ b/common-entity-framework-core/pom.xml @@ -19,7 +19,7 @@ business-entity-framework com.inspur.edp - 0.3.6-SNAPSHOT + 0.3.6 4.0.0 common-entity-framework-core diff --git a/common-entity-framework-entity/pom.xml b/common-entity-framework-entity/pom.xml index 5f19f598..864f2c86 100644 --- a/common-entity-framework-entity/pom.xml +++ b/common-entity-framework-entity/pom.xml @@ -20,7 +20,7 @@ com.inspur.edp business-entity-framework - 0.3.6-SNAPSHOT + 0.3.6 common-entity-framework-entity diff --git a/common-entity-framework-repository/pom.xml b/common-entity-framework-repository/pom.xml index 693ca302..6d8f9d41 100644 --- a/common-entity-framework-repository/pom.xml +++ b/common-entity-framework-repository/pom.xml @@ -22,7 +22,7 @@ com.inspur.edp business-entity-framework - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/common-entity-framework-spi/pom.xml b/common-entity-framework-spi/pom.xml index e1b60fef..3bd15b90 100644 --- a/common-entity-framework-spi/pom.xml +++ b/common-entity-framework-spi/pom.xml @@ -22,7 +22,7 @@ com.inspur.edp business-entity-framework - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/common-entity-framework-variable-api/pom.xml b/common-entity-framework-variable-api/pom.xml index 641bff8e..746defdb 100644 --- a/common-entity-framework-variable-api/pom.xml +++ b/common-entity-framework-variable-api/pom.xml @@ -22,7 +22,7 @@ com.inspur.edp business-entity-framework - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/common-entity-framework-variable-core/pom.xml b/common-entity-framework-variable-core/pom.xml index dc79a788..5615fdbe 100644 --- a/common-entity-framework-variable-core/pom.xml +++ b/common-entity-framework-variable-core/pom.xml @@ -22,7 +22,7 @@ com.inspur.edp business-entity-framework - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/common-entity-framework-variable-spi/pom.xml b/common-entity-framework-variable-spi/pom.xml index ed0349fb..b07680fc 100644 --- a/common-entity-framework-variable-spi/pom.xml +++ b/common-entity-framework-variable-spi/pom.xml @@ -23,7 +23,7 @@ com.inspur.edp business-entity-framework - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/pom.xml b/pom.xml index 819d6b97..e8346a93 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ com.inspur.edp business-entity-framework pom - 0.3.6-SNAPSHOT + 0.3.6 business-entity-framework-api business-entity-framework-spi @@ -327,7 +327,7 @@ scm:git:ssh://git@git.iec.io:6060/gsp-cloud-ds/bef/ubml/business-entity-framework.git https://git.iec.io/gsp-cloud-ds/bef/ubml/business-entity-framework - HEAD + v0.3.6 diff --git a/unified-datatype-api/pom.xml b/unified-datatype-api/pom.xml index f30ea44c..19cf5009 100644 --- a/unified-datatype-api/pom.xml +++ b/unified-datatype-api/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/unified-datatype-core/pom.xml b/unified-datatype-core/pom.xml index 7aa69983..6cac8e19 100644 --- a/unified-datatype-core/pom.xml +++ b/unified-datatype-core/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6-SNAPSHOT + 0.3.6 diff --git a/unified-datatype-entity/pom.xml b/unified-datatype-entity/pom.xml index d6bd4a16..ce7ded7b 100644 --- a/unified-datatype-entity/pom.xml +++ b/unified-datatype-entity/pom.xml @@ -19,7 +19,7 @@ business-entity-framework com.inspur.edp - 0.3.6-SNAPSHOT + 0.3.6 4.0.0 diff --git a/unified-datatype-spi/pom.xml b/unified-datatype-spi/pom.xml index de5521b3..151faa8d 100644 --- a/unified-datatype-spi/pom.xml +++ b/unified-datatype-spi/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6-SNAPSHOT + 0.3.6 -- Gitee From e7ec11921a1cab9fdd15db6aa22fb933903bccdd Mon Sep 17 00:00:00 2001 From: GitLab CI Bot Date: Mon, 17 Nov 2025 06:23:37 +0000 Subject: [PATCH 4/4] [maven-release-plugin] prepare for next development iteration --- business-entity-framework-api/pom.xml | 2 +- business-entity-framework-builtincompoents/pom.xml | 2 +- business-entity-framework-core/pom.xml | 2 +- business-entity-framework-entity/pom.xml | 2 +- business-entity-framework-spi/pom.xml | 2 +- cm-entity-framework-api/pom.xml | 2 +- cm-entity-framework-core/pom.xml | 2 +- cm-entity-framework-spi/pom.xml | 2 +- common-entity-framework-api/pom.xml | 2 +- common-entity-framework-core/pom.xml | 2 +- common-entity-framework-entity/pom.xml | 2 +- common-entity-framework-repository/pom.xml | 2 +- common-entity-framework-spi/pom.xml | 2 +- common-entity-framework-variable-api/pom.xml | 2 +- common-entity-framework-variable-core/pom.xml | 2 +- common-entity-framework-variable-spi/pom.xml | 2 +- pom.xml | 4 ++-- unified-datatype-api/pom.xml | 2 +- unified-datatype-core/pom.xml | 2 +- unified-datatype-entity/pom.xml | 2 +- unified-datatype-spi/pom.xml | 2 +- 21 files changed, 22 insertions(+), 22 deletions(-) diff --git a/business-entity-framework-api/pom.xml b/business-entity-framework-api/pom.xml index a41ef4bc..7898eee8 100644 --- a/business-entity-framework-api/pom.xml +++ b/business-entity-framework-api/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/business-entity-framework-builtincompoents/pom.xml b/business-entity-framework-builtincompoents/pom.xml index 379028ef..62dc9dc7 100644 --- a/business-entity-framework-builtincompoents/pom.xml +++ b/business-entity-framework-builtincompoents/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/business-entity-framework-core/pom.xml b/business-entity-framework-core/pom.xml index b35b4ae4..adbc4360 100644 --- a/business-entity-framework-core/pom.xml +++ b/business-entity-framework-core/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/business-entity-framework-entity/pom.xml b/business-entity-framework-entity/pom.xml index 52f12d65..d5cff7da 100644 --- a/business-entity-framework-entity/pom.xml +++ b/business-entity-framework-entity/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/business-entity-framework-spi/pom.xml b/business-entity-framework-spi/pom.xml index 4c28a661..1ff700b2 100644 --- a/business-entity-framework-spi/pom.xml +++ b/business-entity-framework-spi/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/cm-entity-framework-api/pom.xml b/cm-entity-framework-api/pom.xml index 46ab4776..773dcfc6 100644 --- a/cm-entity-framework-api/pom.xml +++ b/cm-entity-framework-api/pom.xml @@ -22,7 +22,7 @@ com.inspur.edp business-entity-framework - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/cm-entity-framework-core/pom.xml b/cm-entity-framework-core/pom.xml index 538d9113..98bbc666 100644 --- a/cm-entity-framework-core/pom.xml +++ b/cm-entity-framework-core/pom.xml @@ -22,7 +22,7 @@ com.inspur.edp business-entity-framework - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/cm-entity-framework-spi/pom.xml b/cm-entity-framework-spi/pom.xml index db82c80f..3aa717d4 100644 --- a/cm-entity-framework-spi/pom.xml +++ b/cm-entity-framework-spi/pom.xml @@ -21,7 +21,7 @@ com.inspur.edp business-entity-framework - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/common-entity-framework-api/pom.xml b/common-entity-framework-api/pom.xml index cc0d6194..c9814123 100644 --- a/common-entity-framework-api/pom.xml +++ b/common-entity-framework-api/pom.xml @@ -20,7 +20,7 @@ business-entity-framework com.inspur.edp - 0.3.6 + 0.3.7-SNAPSHOT 4.0.0 diff --git a/common-entity-framework-core/pom.xml b/common-entity-framework-core/pom.xml index 0427f5af..c5d3b2e3 100644 --- a/common-entity-framework-core/pom.xml +++ b/common-entity-framework-core/pom.xml @@ -19,7 +19,7 @@ business-entity-framework com.inspur.edp - 0.3.6 + 0.3.7-SNAPSHOT 4.0.0 common-entity-framework-core diff --git a/common-entity-framework-entity/pom.xml b/common-entity-framework-entity/pom.xml index 864f2c86..7ba31f8d 100644 --- a/common-entity-framework-entity/pom.xml +++ b/common-entity-framework-entity/pom.xml @@ -20,7 +20,7 @@ com.inspur.edp business-entity-framework - 0.3.6 + 0.3.7-SNAPSHOT common-entity-framework-entity diff --git a/common-entity-framework-repository/pom.xml b/common-entity-framework-repository/pom.xml index 6d8f9d41..a6e4ee77 100644 --- a/common-entity-framework-repository/pom.xml +++ b/common-entity-framework-repository/pom.xml @@ -22,7 +22,7 @@ com.inspur.edp business-entity-framework - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/common-entity-framework-spi/pom.xml b/common-entity-framework-spi/pom.xml index 3bd15b90..ca12b37a 100644 --- a/common-entity-framework-spi/pom.xml +++ b/common-entity-framework-spi/pom.xml @@ -22,7 +22,7 @@ com.inspur.edp business-entity-framework - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/common-entity-framework-variable-api/pom.xml b/common-entity-framework-variable-api/pom.xml index 746defdb..11c188e2 100644 --- a/common-entity-framework-variable-api/pom.xml +++ b/common-entity-framework-variable-api/pom.xml @@ -22,7 +22,7 @@ com.inspur.edp business-entity-framework - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/common-entity-framework-variable-core/pom.xml b/common-entity-framework-variable-core/pom.xml index 5615fdbe..ae48228a 100644 --- a/common-entity-framework-variable-core/pom.xml +++ b/common-entity-framework-variable-core/pom.xml @@ -22,7 +22,7 @@ com.inspur.edp business-entity-framework - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/common-entity-framework-variable-spi/pom.xml b/common-entity-framework-variable-spi/pom.xml index b07680fc..61488851 100644 --- a/common-entity-framework-variable-spi/pom.xml +++ b/common-entity-framework-variable-spi/pom.xml @@ -23,7 +23,7 @@ com.inspur.edp business-entity-framework - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/pom.xml b/pom.xml index e8346a93..1d529773 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ com.inspur.edp business-entity-framework pom - 0.3.6 + 0.3.7-SNAPSHOT business-entity-framework-api business-entity-framework-spi @@ -327,7 +327,7 @@ scm:git:ssh://git@git.iec.io:6060/gsp-cloud-ds/bef/ubml/business-entity-framework.git https://git.iec.io/gsp-cloud-ds/bef/ubml/business-entity-framework - v0.3.6 + HEAD diff --git a/unified-datatype-api/pom.xml b/unified-datatype-api/pom.xml index 19cf5009..6e071f86 100644 --- a/unified-datatype-api/pom.xml +++ b/unified-datatype-api/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/unified-datatype-core/pom.xml b/unified-datatype-core/pom.xml index 6cac8e19..20ec8469 100644 --- a/unified-datatype-core/pom.xml +++ b/unified-datatype-core/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6 + 0.3.7-SNAPSHOT diff --git a/unified-datatype-entity/pom.xml b/unified-datatype-entity/pom.xml index ce7ded7b..779e20c0 100644 --- a/unified-datatype-entity/pom.xml +++ b/unified-datatype-entity/pom.xml @@ -19,7 +19,7 @@ business-entity-framework com.inspur.edp - 0.3.6 + 0.3.7-SNAPSHOT 4.0.0 diff --git a/unified-datatype-spi/pom.xml b/unified-datatype-spi/pom.xml index 151faa8d..d15aecbb 100644 --- a/unified-datatype-spi/pom.xml +++ b/unified-datatype-spi/pom.xml @@ -22,7 +22,7 @@ business-entity-framework com.inspur.edp - 0.3.6 + 0.3.7-SNAPSHOT -- Gitee