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
c9f25cb3
Commit
c9f25cb3
authored
Oct 21, 2020
by
RuoYi
Browse files
调整sql默认时间
parent
203b54e5
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
ruoyi-generator/src/main/resources/vm/sql/sql.vm
View file @
c9f25cb3
-- 菜单 SQL
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('
${
functionName
}
', '
${
parentMenuId
}
', '1', '
${
businessName
}
', '
${
moduleName
}
/
${
businessName
}
/index', 1, 0, 'C', '0', '0', '
${
permissionPrefix
}
:list', '
#
', 'admin',
'2018-03-01'
, '
ry
',
'2018-03-01'
, '
${
functionName
}
菜单');
values('
${
functionName
}
', '
${
parentMenuId
}
', '1', '
${
businessName
}
', '
${
moduleName
}
/
${
businessName
}
/index', 1, 0, 'C', '0', '0', '
${
permissionPrefix
}
:list', '
#
', 'admin',
sysdate()
, '',
null
, '
${
functionName
}
菜单');
-- 按钮父菜单ID
SELECT @parentId := LAST_INSERT_ID();
-- 按钮 SQL
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('
${
functionName
}
查询', @parentId, '1', '
#
', '', 1, 0, 'F', '0', '0', '
${
permissionPrefix
}
:query', '
#
', 'admin',
'2018-03-01'
, '
ry
',
'2018-03-01'
, '');
values('
${
functionName
}
查询', @parentId, '1', '
#
', '', 1, 0, 'F', '0', '0', '
${
permissionPrefix
}
:query', '
#
', 'admin',
sysdate()
, '',
null
, '');
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('
${
functionName
}
新增', @parentId, '2', '
#
', '', 1, 0, 'F', '0', '0', '
${
permissionPrefix
}
:add', '
#
', 'admin',
'2018-03-01'
, '
ry
',
'2018-03-01'
, '');
values('
${
functionName
}
新增', @parentId, '2', '
#
', '', 1, 0, 'F', '0', '0', '
${
permissionPrefix
}
:add', '
#
', 'admin',
sysdate()
, '',
null
, '');
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('
${
functionName
}
修改', @parentId, '3', '
#
', '', 1, 0, 'F', '0', '0', '
${
permissionPrefix
}
:edit', '
#
', 'admin',
'2018-03-01'
, '
ry
',
'2018-03-01'
, '');
values('
${
functionName
}
修改', @parentId, '3', '
#
', '', 1, 0, 'F', '0', '0', '
${
permissionPrefix
}
:edit', '
#
', 'admin',
sysdate()
, '',
null
, '');
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('
${
functionName
}
删除', @parentId, '4', '
#
', '', 1, 0, 'F', '0', '0', '
${
permissionPrefix
}
:remove', '
#
', 'admin',
'2018-03-01'
, '
ry
',
'2018-03-01'
, '');
values('
${
functionName
}
删除', @parentId, '4', '
#
', '', 1, 0, 'F', '0', '0', '
${
permissionPrefix
}
:remove', '
#
', 'admin',
sysdate()
, '',
null
, '');
insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
values('
${
functionName
}
导出', @parentId, '5', '
#
', '', 1, 0, 'F', '0', '0', '
${
permissionPrefix
}
:export', '
#
', 'admin', '2018-03-01', 'ry', '2018-03-01', '');
\ No newline at end of file
values('
${
functionName
}
导出', @parentId, '5', '
#
', '', 1, 0, 'F', '0', '0', '
${
permissionPrefix
}
:export', '
#
', 'admin', sysdate(), '', null, '');
\ No newline at end of file
ruoyi-ui/src/views/login.vue
View file @
c9f25cb3
...
...
@@ -48,7 +48,7 @@
</el-form>
<!-- 底部 -->
<div
class=
"el-login-footer"
>
<span>
Copyright © 2018-20
19
ruoyi.vip All Rights Reserved.
</span>
<span>
Copyright © 2018-20
20
ruoyi.vip All Rights Reserved.
</span>
</div>
</div>
</
template
>
...
...
sql/ry_2020
0920
.sql
→
sql/ry_2020
1021
.sql
View file @
c9f25cb3
This diff is collapsed.
Click to expand it.
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