@RestController @RequestMapping(value="/codegen") public class CodeGenController extends BaseController
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CodeGenController.GenerateRequest |
static class |
CodeGenController.GenerateTableFieldInfoDto |
static class |
CodeGenController.GenerateTableInfoDto |
static class |
CodeGenController.GetCodeGenInfoResponse |
static class |
CodeGenController.InitCodeGenResponse
实体对象
|
static class |
CodeGenController.TableFieldDto |
static class |
CodeGenController.TableInfoDto |
| 构造器和说明 |
|---|
CodeGenController() |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiResponse |
generate(CodeGenController.GenerateRequest generateRequest) |
ApiResponse |
getGenerateInfo(String tableName) |
ApiResponse |
initCodeGen() |
@GetMapping(value="/initCodeGen",
produces="application/json")
public ApiResponse initCodeGen()
throws SQLException
SQLException@GetMapping(value="/getGenerateInfo",
produces="application/json")
public ApiResponse getGenerateInfo(String tableName)
throws Exception
Exception@PostMapping(value="/generate",
produces="application/json")
public ApiResponse generate(@RequestBody
CodeGenController.GenerateRequest generateRequest)
throws Exception
ExceptionCopyright © 2019. All rights reserved.