Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
02c3f3d8
Commit
02c3f3d8
authored
Jun 17, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
d8b472f4
efcf3a41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
SysDataAuthServiceImpl.java
...us.v1/yifu/admin/service/impl/SysDataAuthServiceImpl.java
+14
-6
No files found.
yifu-upms/yifu-upms-biz/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/service/impl/SysDataAuthServiceImpl.java
View file @
02c3f3d8
...
...
@@ -127,10 +127,18 @@ public class SysDataAuthServiceImpl extends ServiceImpl<SysDataAuthMapper, SysDa
sysDataAuth
.
setCreateBy
(
user
.
getId
());
sysDataAuth
.
setCreateName
(
user
.
getNickname
());
sysDataAuth
.
setCreateTime
(
LocalDateTime
.
now
());
if
(
Common
.
isEmpty
(
sysDataAuth
.
getIsCreateAuth
()))
{
sysDataAuth
.
setIsCreateAuth
(
0
);
}
if
(
Common
.
isEmpty
(
sysDataAuth
.
getIsDeptAuth
()))
{
sysDataAuth
.
setIsDeptAuth
(
0
);
}
if
(
Common
.
isEmpty
(
sysDataAuth
.
getIsSettleAuth
()))
{
sysDataAuth
.
setIsSettleAuth
(
0
);
}
if
(
Common
.
isEmpty
(
sysDataAuth
.
getIsDiySql
()))
{
sysDataAuth
.
setIsDiySql
(
0
);
}
this
.
save
(
sysDataAuth
);
mainId
=
sysDataAuth
.
getId
();
}
else
{
...
...
@@ -200,7 +208,7 @@ public class SysDataAuthServiceImpl extends ServiceImpl<SysDataAuthMapper, SysDa
menu
.
setSysDataAuthId
(
mainId
);
menu
.
setType
(
3
);
}
saveMenuDeptList
.
addAll
(
menu
Settle
List
);
saveMenuDeptList
.
addAll
(
menu
Dept
List
);
}
String
nowSql
;
// 处理创建人
...
...
@@ -218,7 +226,7 @@ public class SysDataAuthServiceImpl extends ServiceImpl<SysDataAuthMapper, SysDa
menu
.
setType
(
1
);
menu
.
setSysDataAuthId
(
mainId
);
}
saveMenuDeptList
.
addAll
(
menu
Settl
eList
);
saveMenuDeptList
.
addAll
(
menu
Creat
eList
);
}
// 处理结算主体
...
...
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