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
4435c65b
Commit
4435c65b
authored
Sep 02, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
f39408f3
3deb0be0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
AuthCodeServiceImpl.java
...n/java/com/gic/auth/service/impl/AuthCodeServiceImpl.java
+2
-1
TabSysAuthCodeMapper.xml
...ervice/src/main/resources/mapper/TabSysAuthCodeMapper.xml
+3
-0
No files found.
gic-platform-auth-service/src/main/java/com/gic/auth/service/impl/AuthCodeServiceImpl.java
View file @
4435c65b
...
...
@@ -16,7 +16,8 @@ public class AuthCodeServiceImpl implements AuthCodeService {
private
TabSysAuthCodeMapper
tabSysAuthCodeMapper
;
@Override
public
int
saveAuthCode
(
TabSysAuthCode
tabSysAuthCode
)
{
return
this
.
tabSysAuthCodeMapper
.
insert
(
tabSysAuthCode
);
this
.
tabSysAuthCodeMapper
.
insert
(
tabSysAuthCode
);
return
tabSysAuthCode
.
getAuthCodeId
();
}
@Override
...
...
gic-platform-auth-service/src/main/resources/mapper/TabSysAuthCodeMapper.xml
View file @
4435c65b
...
...
@@ -26,6 +26,9 @@
where auth_code_id = #{authCodeId,jdbcType=INTEGER}
</delete>
<insert
id=
"insert"
parameterType=
"com.gic.auth.entity.TabSysAuthCode"
>
<selectKey
keyProperty=
"authCodeId"
order=
"AFTER"
resultType=
"java.lang.Integer"
>
SELECT LAST_INSERT_ID()
</selectKey>
insert into tab_sys_auth_code (auth_code_id, auth_code, enterprise_id,
relation_id, status, create_time,
expiration_time, update_time)
...
...
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