This commit is contained in:
冷冷 2020-05-09 20:22:16 +08:00 committed by lishangbu
parent 7f2e4750b8
commit 27531aa743
1 changed files with 14 additions and 0 deletions

View File

@ -83,6 +83,20 @@ public class GenFormConfController {
return R.ok(genRecordService.getForm(dsName, tableName)); return R.ok(genRecordService.getForm(dsName, tableName));
} }
/**
* 新增生成记录
*
* @param formConf 生成记录
* @return R
*/
@ApiOperation(value = "新增生成记录", notes = "新增生成记录")
@SysLog("新增生成记录")
@PostMapping
@PreAuthorize("@pms.hasPermission('gen_form_add')")
public R save(@RequestBody GenFormConf formConf) {
return R.ok(genRecordService.save(formConf));
}
/** /**
* 通过id删除生成记录 * 通过id删除生成记录
* *