master
Cui YongXing 2024-08-23 01:49:58 +08:00
parent 405c19dcbd
commit aef7c4d74e
1 changed files with 2 additions and 2 deletions

View File

@ -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);