认证-参数收集清单-变更扩展:取消模板版本限制

This commit is contained in:
liyawei
2022-09-08 14:16:56 +08:00
parent 15d1bccc57
commit b8c53a0ad7
@@ -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);