Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-auth
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-platform-auth
Commits
18eb1d44
Commit
18eb1d44
authored
Aug 29, 2019
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改表名
parent
5fb8defe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
TabUserMapper.xml
...-auth-service/src/main/resources/mapper/TabUserMapper.xml
+8
-8
No files found.
gic-platform-auth-service/src/main/resources/mapper/TabUserMapper.xml
View file @
18eb1d44
...
...
@@ -20,15 +20,15 @@
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Integer"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from tab_user
from tab_
sys_
user
where user_id = #{userId,jdbcType=INTEGER}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
delete from tab_user
delete from tab_
sys_
user
where user_id = #{userId,jdbcType=INTEGER}
</delete>
<insert
id=
"insert"
parameterType=
"com.gic.auth.entity.TabUser"
useGeneratedKeys=
"true"
keyProperty=
"userId"
>
insert into tab_
user (user_id, user_name, phone_number,
insert into tab_
sys_user (user_id, user_name, phone_number,
password, super_admin, status,
create_time, update_time, enterprise_id,
phone_area_code)
...
...
@@ -38,7 +38,7 @@
#{phoneAreaCode,jdbcType=VARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gic.auth.entity.TabUser"
>
insert into tab_user
insert into tab_
sys_
user
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"userId != null"
>
user_id,
...
...
@@ -105,7 +105,7 @@
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.gic.auth.entity.TabUser"
>
update tab_user
update tab_
sys_
user
<set>
<if
test=
"userName != null"
>
user_name = #{userName,jdbcType=VARCHAR},
...
...
@@ -138,7 +138,7 @@
where user_id = #{userId,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.gic.auth.entity.TabUser"
>
update tab_user
update tab_
sys_
user
set user_name = #{userName,jdbcType=VARCHAR},
phone_number = #{phoneNumber,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
...
...
@@ -152,7 +152,7 @@
</update>
<select
id=
"countByPhone"
resultType=
"int"
>
select count(1) from tab_user
select count(1) from tab_
sys_
user
where status = 1
<if
test=
"userId != null"
>
user_id
<![CDATA[ <> ]]>
#{userId}
...
...
@@ -164,7 +164,7 @@
<select
id=
"selectByEnterpriseId"
parameterType=
"java.lang.Integer"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from tab_user
from tab_
sys_
user
where enterprise_id = #{enterpriseId,jdbcType=INTEGER}
and status = 1
and super_admin = 1
...
...
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