Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
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
赵啸非
smart_gov_platform
Commits
a2d98d4b
Commit
a2d98d4b
authored
May 30, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加用户扩展xml
parent
ebf0cbec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
base-manager/src/main/resources/sqlmap/base/system/userExt.xml
...manager/src/main/resources/sqlmap/base/system/userExt.xml
+14
-0
portal-manager/src/main/resources/sqlmap/module/user/userExt.xml
...manager/src/main/resources/sqlmap/module/user/userExt.xml
+14
-0
No files found.
base-manager/src/main/resources/sqlmap/base/system/userExt.xml
0 → 100644
View file @
a2d98d4b
<?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.iot.base.system.user.dao.ibatis.UserDaoImpl"
>
<!-- 获取列表 -->
<select
id=
"getAuthListById"
parameterType=
"paramDto"
resultType=
"Long"
>
select resourceId
from mortals_iot_role_auth as a
left join mortals_iot_role_user as b
on a.roleId=b.roleId
where b.userId=#{condition.id}
</select>
</mapper>
\ No newline at end of file
portal-manager/src/main/resources/sqlmap/module/user/userExt.xml
0 → 100644
View file @
a2d98d4b
<?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.module.user.dao.ibatis.UserDaoImpl"
>
<!-- 获取列表 -->
<select
id=
"getAuthListById"
parameterType=
"paramDto"
resultType=
"Long"
>
select resourceId
from mortals_iot_role_auth as a
left join mortals_iot_role_user as b
on a.roleId=b.roleId
where b.userId=#{condition.id}
</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