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
8134af44
Commit
8134af44
authored
Dec 30, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建账号分组接口改动,返回账号分组主键ID
parent
613a97fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
AccountGroupServiceImpl.java
...va/com/gic/auth/service/impl/AccountGroupServiceImpl.java
+2
-1
TabSysAccountGroupMapper.xml
...ce/src/main/resources/mapper/TabSysAccountGroupMapper.xml
+1
-1
No files found.
gic-platform-auth-service/src/main/java/com/gic/auth/service/impl/AccountGroupServiceImpl.java
View file @
8134af44
...
...
@@ -24,7 +24,8 @@ public class AccountGroupServiceImpl implements AccountGroupService{
dto
.
setCreateTime
(
new
Date
());
dto
.
setUpdateTime
(
new
Date
());
TabSysAccountGroup
record
=
EntityUtil
.
changeEntityNew
(
TabSysAccountGroup
.
class
,
dto
);
return
tabSysAccountGroupMapper
.
insert
(
record
);
tabSysAccountGroupMapper
.
insert
(
record
);
return
record
.
getAccountGroupId
();
}
@Override
...
...
gic-platform-auth-service/src/main/resources/mapper/TabSysAccountGroupMapper.xml
View file @
8134af44
...
...
@@ -23,7 +23,7 @@
delete from tab_sys_account_group
where account_group_id = #{accountGroupId,jdbcType=INTEGER}
</delete>
<insert
id=
"insert"
parameterType=
"com.gic.auth.entity.TabSysAccountGroup"
>
<insert
id=
"insert"
parameterType=
"com.gic.auth.entity.TabSysAccountGroup"
useGeneratedKeys=
"true"
keyProperty=
"accountGroupId"
>
insert into tab_sys_account_group (account_group_id, account_group_name,
enterprise_id, status, sort,
create_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