修改控件校验数据迁移,添加接口根据新模板同步已发布的参数清单
This commit is contained in:
+1
@@ -166,6 +166,7 @@ public class ShiroConfig {
|
||||
filterChainDefinitionMap.put("/project/projectTaskInventoryConditionAssessmentEO/initConditionAssessment", "anon"); // 初始化项目当前状态数据接口
|
||||
filterChainDefinitionMap.put("/todoCenter/projectProcess/initHistoryData", "anon"); // 待办中心-初始化历史数据接口排除
|
||||
filterChainDefinitionMap.put("/project/projectTaskInventoryEO/disposeHistoryData", "anon"); // 项目库-任务清单 处理历史数据接口
|
||||
filterChainDefinitionMap.put("/params/manifest/updateModel", "anon"); // 项目库-任务清单 处理历史数据接口
|
||||
|
||||
// 添加自己的过滤器并且取名为jwt
|
||||
Map<String, Filter> filterMap = new HashMap<String, Filter>(1);
|
||||
|
||||
+11
@@ -161,6 +161,17 @@ public class ParamsManifestEOController extends JeroController<ParamsManifestEO,
|
||||
}
|
||||
}
|
||||
|
||||
@ApiOperation(value = "参数清单-更新模板更新参数", notes = "参数清单-更新模板更新参数")
|
||||
@PostMapping(value = "/updateModel")
|
||||
public Result<?> updateModel(String mid, String version,String cid) {
|
||||
boolean isSuccess = paramsManifestEOService.updateModel(mid,version, cid);
|
||||
if (isSuccess) {
|
||||
return Result.OK("更新成功!");
|
||||
} else {
|
||||
return Result.error("更新失败!");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
|
||||
+2
@@ -97,4 +97,6 @@ public interface IParamsManifestEOService extends IService<ParamsManifestEO> {
|
||||
|
||||
// 参数模板删除时,记录参数模板名称到清单
|
||||
boolean setTemplateName(List<String> paramsTemplateIds);
|
||||
|
||||
boolean updateModel(String mid,String version, String cid);
|
||||
}
|
||||
|
||||
+864
-808
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user