修改控件校验数据迁移,添加接口根据新模板同步已发布的参数清单
This commit is contained in:
+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