master
parent
405c19dcbd
commit
aef7c4d74e
|
@ -93,8 +93,8 @@ public class GenController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("tool:gen:import")
|
@RequiresPermissions("tool:gen:import")
|
||||||
@Log(title = "代码生成", businessType = BusinessType.IMPORT)
|
@Log(title = "代码生成", businessType = BusinessType.IMPORT)
|
||||||
@PostMapping("/importTable")
|
@PostMapping("/importTable/{tables}")
|
||||||
public Result importTableSave (@RequestParam String tables) {
|
public Result importTableSave (@PathVariable("tables") String tables) {
|
||||||
String[] tableNames = Convert.toStrArray(tables);
|
String[] tableNames = Convert.toStrArray(tables);
|
||||||
// 查询表信息
|
// 查询表信息
|
||||||
List<GenTable> tableList = genTableService.selectDbTableListByNames(tableNames);
|
List<GenTable> tableList = genTableService.selectDbTableListByNames(tableNames);
|
||||||
|
|
Loading…
Reference in New Issue