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
14a85989
Commit
14a85989
authored
Jan 08, 2021
by
RuoYi
Browse files
代码生成模板支持主子表
parent
f3cb18c8
Changes
22
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/views/tool/gen/index.vue
View file @
14a85989
...
...
@@ -84,7 +84,7 @@
</el-row>
<el-table
v-loading=
"loading"
:data=
"tableList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<el-table-column
type=
"selection"
align=
"center"
width=
"55"
></el-table-column>
<el-table-column
label=
"序号"
type=
"index"
width=
"50"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span>
{{
(
queryParams
.
pageNum
-
1
)
*
queryParams
.
pageSize
+
scope
.
$index
+
1
}}
</span>
...
...
sql/ry_20201
12
8.sql
→
sql/ry_202
1
01
0
8.sql
View file @
14a85989
...
...
@@ -633,6 +633,8 @@ create table gen_table (
table_id
bigint
(
20
)
not
null
auto_increment
comment
'编号'
,
table_name
varchar
(
200
)
default
''
comment
'表名称'
,
table_comment
varchar
(
500
)
default
''
comment
'表描述'
,
sub_table_name
varchar
(
64
)
default
null
comment
'关联子表的表名'
,
sub_table_fk_name
varchar
(
64
)
default
null
comment
'子表关联的外键名'
,
class_name
varchar
(
100
)
default
''
comment
'实体类名称'
,
tpl_category
varchar
(
200
)
default
'crud'
comment
'使用的模板(crud单表操作 tree树表操作)'
,
package_name
varchar
(
100
)
comment
'生成包路径'
,
...
...
Prev
1
2
Next
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