mirror of https://gitee.com/maxjhandsome/pig
🐛 Fixing a bug. https://gitee.com/log4j/pig/issues/I1GDYL
This commit is contained in:
parent
7f2e4750b8
commit
27531aa743
|
@ -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删除生成记录
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue