正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -218,8 +218,8 @@ public class GenController extends BaseController | @@ -218,8 +218,8 @@ public class GenController extends BaseController | ||
| 218 | @ApiOperation("从数据库结构生成代码") | 218 | @ApiOperation("从数据库结构生成代码") |
| 219 | @ApiImplicitParam(value = "表名集合",name = "tableNames") | 219 | @ApiImplicitParam(value = "表名集合",name = "tableNames") |
| 220 | @GetMapping("/generatorCodeFromDb") | 220 | @GetMapping("/generatorCodeFromDb") |
| 221 | - public void generatorCodeFromDb(HttpServletResponse response, String tableNames) throws IOException { | ||
| 222 | - byte[] data = genTableService.generatorCodeFromDb(tableNames); | 221 | + public void generatorCodeFromDb(HttpServletResponse response,String databaseName, String tableNames) throws IOException { |
| 222 | + byte[] data = genTableService.generatorCodeFromDb(databaseName,tableNames); | ||
| 223 | genCode(response, data); | 223 | genCode(response, data); |
| 224 | } | 224 | } |
| 225 | 225 |
-
请 注册 或 登录 后发表评论