代码生成支持模糊条件查询

This commit is contained in:
RuoYi
2019-10-18 09:36:27 +08:00
parent 7eade0d43c
commit 9ac3ca79f8
5 changed files with 55 additions and 11 deletions

View File

@ -46,8 +46,9 @@ public class GenController extends BaseController
@RequiresPermissions("tool:gen:view")
@GetMapping()
public String gen()
public String gen(ModelMap mmap)
{
mmap.put("genTables", genTableService.selectGenTableList(new GenTable()));
return prefix + "/gen";
}
@ -97,8 +98,9 @@ public class GenController extends BaseController
*/
@RequiresPermissions("tool:gen:list")
@GetMapping("/importTable")
public String importTable()
public String importTable(ModelMap mmap)
{
mmap.put("dbTables", genTableService.selectDbTableList(new GenTable()));
return prefix + "/importTable";
}