Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-data-cloud
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-data-cloud
Commits
b7b86676
Commit
b7b86676
authored
Sep 01, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
红点提示
parent
e8d0f8a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
UserApiServiceImpl.java
.../com/gic/cloud/service/outer/impl/UserApiServiceImpl.java
+6
-1
TabIndexDescMapper.xml
...-service/src/main/resources/mapper/TabIndexDescMapper.xml
+1
-1
No files found.
gic-data-cloud-service/src/main/java/com/gic/cloud/service/outer/impl/UserApiServiceImpl.java
View file @
b7b86676
...
...
@@ -7,6 +7,7 @@ import com.gic.cloud.entity.TabSysAccountGroup;
import
com.gic.cloud.entity.TabSysUser
;
import
com.gic.cloud.qo.UserQO
;
import
com.gic.cloud.service.AccountGroupService
;
import
com.gic.cloud.service.UpdateTipService
;
import
com.gic.cloud.service.UserApiService
;
import
com.gic.cloud.service.UserService
;
import
com.gic.commons.util.EntityUtil
;
...
...
@@ -30,6 +31,8 @@ public class UserApiServiceImpl implements UserApiService{
private
UserService
userService
;
@Autowired
private
AccountGroupService
accountGroupService
;
@Autowired
private
UpdateTipService
updateTipService
;
@Override
public
ServiceResponse
<
Integer
>
saveUser
(
UserDTO
dto
)
{
...
...
@@ -38,7 +41,9 @@ public class UserApiServiceImpl implements UserApiService{
if
(!
validParamResult
.
isSuccess
())
{
return
ServiceResponse
.
failure
(
validParamResult
.
getCode
(),
validParamResult
.
getMessage
());
}
return
ServiceResponse
.
success
(
userService
.
saveUser
(
dto
));
Integer
userId
=
userService
.
saveUser
(
dto
);
updateTipService
.
insertBySaveUser
(
userId
);
return
ServiceResponse
.
success
(
userId
);
}
@Override
...
...
gic-data-cloud-service/src/main/resources/mapper/TabIndexDescMapper.xml
View file @
b7b86676
...
...
@@ -179,7 +179,7 @@
and t2.index_status = #{indexStatus}
and (t3.status = 1 or t3.status is null)
and (t3.classify_type = 1 or t3.classify_type is null)
AND (t4.business_id = 1 or t4.business_id is null)
--
AND (t4.business_id = 1 or t4.business_id is null)
AND (t4.type = 1 or t4.type is null)
and (t5.type = 1 or t5.type = 1 is null)
<if
test=
"userId != null "
>
...
...
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