Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
21d9ca61
Commit
21d9ca61
authored
Oct 23, 2020
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
cc1abe0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
AppUserSellingWaterBiz.java
...ub/wxiaoqi/security/admin/biz/AppUserSellingWaterBiz.java
+3
-2
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/AppUserSellingWaterBiz.java
View file @
21d9ca61
...
@@ -117,7 +117,7 @@ public class AppUserSellingWaterBiz extends BaseBiz<AppUserSellingWaterMapper, A
...
@@ -117,7 +117,7 @@ public class AppUserSellingWaterBiz extends BaseBiz<AppUserSellingWaterMapper, A
positionId
=
position
.
getId
();
positionId
=
position
.
getId
();
if
(
position
.
getLevel
()
!=
null
&&
position
.
getLevel
()
==
0
){
if
(
position
.
getLevel
()
!=
null
&&
position
.
getLevel
()
==
0
){
Integer
extract
=
position
.
getExtract
();
Integer
extract
=
position
.
getExtract
();
getMemberExtract
(
parentId
,
extract
);
extract
=
getMemberExtract
(
parentId
,
extract
);
position
.
setExtract
(
extract
);
position
.
setExtract
(
extract
);
}
}
}
}
...
@@ -533,7 +533,7 @@ public class AppUserSellingWaterBiz extends BaseBiz<AppUserSellingWaterMapper, A
...
@@ -533,7 +533,7 @@ public class AppUserSellingWaterBiz extends BaseBiz<AppUserSellingWaterMapper, A
}
}
}
}
public
void
getMemberExtract
(
Integer
userId
,
Integer
extract
){
public
Integer
getMemberExtract
(
Integer
userId
,
Integer
extract
){
AppUserVo
appUserVo
=
appUserDetailBiz
.
getUserInfoById
(
userId
);
AppUserVo
appUserVo
=
appUserDetailBiz
.
getUserInfoById
(
userId
);
if
(
appUserVo
.
getIsMember
()
!=
null
&&
appUserVo
.
getIsMember
()
==
1
){
if
(
appUserVo
.
getIsMember
()
!=
null
&&
appUserVo
.
getIsMember
()
==
1
){
UserMemberVo
userMemberVo
=
userMemberBiz
.
getMemberInfoByUserId
(
userId
);
UserMemberVo
userMemberVo
=
userMemberBiz
.
getMemberInfoByUserId
(
userId
);
...
@@ -549,6 +549,7 @@ public class AppUserSellingWaterBiz extends BaseBiz<AppUserSellingWaterMapper, A
...
@@ -549,6 +549,7 @@ public class AppUserSellingWaterBiz extends BaseBiz<AppUserSellingWaterMapper, A
}
}
}
}
return
extract
;
}
}
}
}
\ No newline at end of file
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