diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/util/DesignerVersionUtil.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/util/DesignerVersionUtil.java index 18c86968..6fabb1d5 100644 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/util/DesignerVersionUtil.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/repository/designer/util/DesignerVersionUtil.java @@ -120,6 +120,11 @@ public class DesignerVersionUtil { public static VersionListVO getVersionListVo(PALRepositoryModel palModel) { String plId = palModel.getId(); String verAndVerD = String.valueOf(palModel.getVersion()); + try{ + verAndVerD = VersionUtil.getVersionStr(Double.parseDouble(verAndVerD)); + }catch (Exception e){ + log.error("版本号转换异常:{}", verAndVerD); + } VersionStatusEnum versionStatus = getVersionStatus(palModel); // 创建人 String createUser = getUserName(palModel.getCreateUser());