Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
certificate-print
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
廖旭伟
certificate-print
Commits
0d817f34
Commit
0d817f34
authored
Apr 25, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加修改权限菜单配置
parent
0b8158b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
certificate-manager/db/add_db.sql
certificate-manager/db/add_db.sql
+1
-1
certificate-manager/src/main/resources/sqlmap/base/system/MenuMapperExt.xml
...r/src/main/resources/sqlmap/base/system/MenuMapperExt.xml
+16
-0
No files found.
certificate-manager/db/add_db.sql
View file @
0d817f34
...
...
@@ -214,7 +214,7 @@ CREATE TABLE `mortals_xhx_user` (
`lastLoginTime`
datetime
DEFAULT
NULL
COMMENT
'最后一次登录时间'
,
`lastLoginAddress`
varchar
(
21
)
DEFAULT
NULL
COMMENT
'最后一次登录地址'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
16870
DEFAULT
CHARSET
=
utf8
COMMENT
=
'用户信息业务'
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COMMENT
=
'用户信息业务'
;
ALTER
TABLE
mortals_xhx_param
ADD
COLUMN
`updateUserId`
bigint
(
20
)
COMMENT
'更新用户'
;
...
...
certificate-manager/src/main/resources/sqlmap/base/system/MenuMapperExt.xml
0 → 100644
View file @
0d817f34
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
<mapper
namespace=
"com.mortals.xhx.base.system.menu.dao.ibatis.MenuDaoImpl"
>
<!-- 获取列表 -->
<select
id=
"getListByUserId"
parameterType=
"paramDto"
resultMap=
"MenuEntity-Map"
>
select
<include
refid=
"_columns"
/>
from mortals_xhx_menu as a
where a.authType in(0,1,2) or a.id IN
(select menuId
from mortals_xhx_role_auth as b
left join mortals_xhx_role_user as c
on b.roleId=c.roleId
where c.userId=#{condition.userId})
</select>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
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