Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
e35fc113
Commit
e35fc113
authored
Jul 13, 2022
by
wenyang
Committed by
jianan
Jul 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
龙虎榜调整(如本人在10名以内,包含10名,显示本人真实排名;如本人没在10名以内,包含10名,显示第11名)
parent
ebbb5dfc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+9
-7
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
e35fc113
...
@@ -754,6 +754,15 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -754,6 +754,15 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
practitionerItem
.
setPractitionerId
(
practitionerIdForOnLine
.
toString
());
practitionerItem
.
setPractitionerId
(
practitionerIdForOnLine
.
toString
());
}
}
practitionerIdItem
=
practitionerItem
.
getPractitionerId
();
practitionerIdItem
=
practitionerItem
.
getPractitionerId
();
if
(
practitionerId
.
equals
(
practitionerIdItem
))
{
//赋值、
if
(
boole
){
BeanUtils
.
copyProperties
(
practitionerItem
,
practitionerInfo
);
practitionerInfo
.
setRank
(
rank
);
}
if
(
rank
>
10
)
{
break
;
}
}
if
(
rank
<=
10
)
{
//排名
if
(
rank
<=
10
)
{
//排名
if
(
practitionerId
.
equals
(
practitionerIdItem
)){
if
(
practitionerId
.
equals
(
practitionerIdItem
)){
if
(!
boole
)
continue
;
if
(!
boole
)
continue
;
...
@@ -766,13 +775,6 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -766,13 +775,6 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
fortuneStatistics
.
setRank
(
rank
);
fortuneStatistics
.
setRank
(
rank
);
rankList
.
add
(
fortuneStatistics
);
rankList
.
add
(
fortuneStatistics
);
}
}
if
(
practitionerId
.
equals
(
practitionerIdItem
))
{
//赋值
BeanUtils
.
copyProperties
(
practitionerItem
,
practitionerInfo
);
practitionerInfo
.
setRank
(
rank
);
if
(
rank
>=
10
)
{
break
;
}
}
rank
++;
rank
++;
}
}
}
}
...
...
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