update 法规文件类型处理、标准拆分查询表单处理

This commit is contained in:
liao
2023-09-25 14:40:59 +08:00
parent 01d73e6f3d
commit 9b487cecb4
6 changed files with 199 additions and 73 deletions
@@ -50,8 +50,9 @@ public class ClauseSplitController {
@AutoLog(value = "条款拆分-获取表单模型")
@ApiOperation(value="条款拆分-获取表单模型", notes="条款拆分-获取表单模型")
@GetMapping(value = "getFormModel")
public Result<Map<String,Object>> getFormModel(@RequestParam(name="type") String type) {
return Result.OK(lawsCommonService.getFormModel(MODULE_VALUE, type));
public Result<Object> getFormModel(@RequestParam(name="type") String type) {
Map<String, Object> formModel = lawsCommonService.getFormModel(MODULE_VALUE, type);
return Result.OK(formModel.get(MODULE_VALUE));
}
}