认证-参数收集清单-变更扩展:取消模板版本限制
This commit is contained in:
+7
-7
@@ -355,13 +355,13 @@ public class ParamsManifestEOServiceImpl extends ServiceImpl<ParamsManifestEOMap
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (newestVersion == paramsManifestEO.getParamsTemplatePublishVersion()) {
|
// if (newestVersion == paramsManifestEO.getParamsTemplatePublishVersion()) {
|
||||||
if (CutEnum.CN.getValue().equals(cut)) {
|
// if (CutEnum.CN.getValue().equals(cut)) {
|
||||||
throw new JeroBootException("当前已是模板最新发布版本!");
|
// throw new JeroBootException("当前已是模板最新发布版本!");
|
||||||
} else {
|
// } else {
|
||||||
throw new JeroBootException("This is the latest template!");
|
// throw new JeroBootException("This is the latest template!");
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 查询最新版模板参数项
|
// 查询最新版模板参数项
|
||||||
List<ParamsInfoPublishEO> newParamsInfoPublishEOList = paramsInfoPublishEOService.getListByPublishVersion(paramsManifestEO.getParamsTemplateId(), newestVersion);
|
List<ParamsInfoPublishEO> newParamsInfoPublishEOList = paramsInfoPublishEOService.getListByPublishVersion(paramsManifestEO.getParamsTemplateId(), newestVersion);
|
||||||
|
|||||||
Reference in New Issue
Block a user