Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
e9571fc2
Unverified
Commit
e9571fc2
authored
Mar 05, 2022
by
疯狂的狮子Li
Committed by
Gitee
Mar 05, 2022
Browse files
fix
parent
22f7ccc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-generator/src/main/java/com/ruoyi/generator/controller/GenController.java
View file @
e9571fc2
...
...
@@ -59,12 +59,12 @@ public class GenController extends BaseController
* 修改代码生成业务
*/
@PreAuthorize
(
"@ss.hasPermi('tool:gen:query')"
)
@GetMapping
(
value
=
"/{ta
l
bleId}"
)
public
AjaxResult
getInfo
(
@PathVariable
Long
ta
l
bleId
)
@GetMapping
(
value
=
"/{tableId}"
)
public
AjaxResult
getInfo
(
@PathVariable
Long
tableId
)
{
GenTable
table
=
genTableService
.
selectGenTableById
(
ta
l
bleId
);
GenTable
table
=
genTableService
.
selectGenTableById
(
tableId
);
List
<
GenTable
>
tables
=
genTableService
.
selectGenTableAll
();
List
<
GenTableColumn
>
list
=
genTableColumnService
.
selectGenTableColumnListByTableId
(
ta
l
bleId
);
List
<
GenTableColumn
>
list
=
genTableColumnService
.
selectGenTableColumnListByTableId
(
tableId
);
Map
<
String
,
Object
>
map
=
new
HashMap
<
String
,
Object
>();
map
.
put
(
"info"
,
table
);
map
.
put
(
"rows"
,
list
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment