Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cneeds-server
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
zhangzr
cneeds-server
Commits
d6276f17
Commit
d6276f17
authored
Jun 05, 2020
by
zzrdark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复 新增用户
parent
b3f95a20
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
application-dev.yml
...ds-server-datashow/src/main/resources/application-dev.yml
+9
-0
SysUserDeptServiceImpl.java
...eeds/server/user/service/impl/SysUserDeptServiceImpl.java
+1
-1
SysUserFuncServiceImpl.java
...eeds/server/user/service/impl/SysUserFuncServiceImpl.java
+1
-1
No files found.
cneeds-server-datashow/src/main/resources/application-dev.yml
View file @
d6276f17
...
...
@@ -27,3 +27,12 @@ feign:
CNEEDS-SERVER-DEVICE
:
connectTimeout
:
10000
readTimeout
:
10000
CNEEDS-SERVER-AUTHORIZATION
:
connectTimeout
:
10000
readTimeout
:
10000
CNEEDS-SERVER-LOGUPLOAD
:
connectTimeout
:
10000
readTimeout
:
10000
CNEEDS-SERVER-USER
:
connectTimeout
:
10000
readTimeout
:
10000
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/service/impl/SysUserDeptServiceImpl.java
View file @
d6276f17
...
...
@@ -41,7 +41,7 @@ public class SysUserDeptServiceImpl extends ServiceImpl<SysUserDeptDao, SysUserD
//先删除用户与部门关系
deleteBatch
(
new
Long
[]{
userId
});
if
(
deptIdList
.
size
()
==
0
){
if
(
deptIdList
==
null
||
deptIdList
.
size
()
==
0
){
return
;
}
...
...
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/service/impl/SysUserFuncServiceImpl.java
View file @
d6276f17
...
...
@@ -42,7 +42,7 @@ public class SysUserFuncServiceImpl extends ServiceImpl<SysUserFuncDao, SysUserF
//先删除角色与菜单关系
deleteBatch
(
new
Long
[]{
userId
});
if
(
menuIdList
.
size
()
==
0
){
if
(
menuIdList
==
null
||
menuIdList
.
size
()
==
0
){
return
;
}
...
...
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