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