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
75830921
Commit
75830921
authored
May 20, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agms团队寿险数据问题4
parent
5fcc0fbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsDashboardServiceImpl.java
+12
-3
No files found.
yd-api/src/main/java/com/yd/api/agms/service/impl/AgmsDashboardServiceImpl.java
View file @
75830921
...
...
@@ -176,7 +176,7 @@ public class AgmsDashboardServiceImpl implements AgmsDashboardService {
private
List
<
Achieve
>
queryN22
(
String
category
,
String
type
,
String
time
)
throws
Exception
{
// 0.声明变量
SearchStaffAchievementResponseVO
searchStaffAchievementResponseVO
=
null
;
List
<
Achieve
>
achieve
List
=
new
ArrayList
<>();
List
<
Achieve
>
result
List
=
new
ArrayList
<>();
// 1.获取机构id
this
.
getGroupIdByThisInterface
();
...
...
@@ -210,6 +210,9 @@ public class AgmsDashboardServiceImpl implements AgmsDashboardService {
if
(
"life"
.
equals
(
category
))
{
if
(
"b"
.
equals
(
type
))
{
List
<
Achieve
>
achieveList
=
new
ArrayList
<>();
searchStaffAchievementRequestBody
.
setIsdown
(
"1"
);
// 循环查分公司
for
(
String
organizationId
:
organizationIdList
)
{
...
...
@@ -230,7 +233,11 @@ public class AgmsDashboardServiceImpl implements AgmsDashboardService {
achieveList
.
addAll
(
achieves
);
}
resultList
=
achieveList
;
}
else
{
List
<
Achieve
>
achieveList
=
new
ArrayList
<>();
// 查团队
searchStaffAchievementRequestBody
.
setSearchtype
(
"2"
);
searchStaffAchievementRequestBody
.
setIsdown
(
"1"
);
...
...
@@ -242,6 +249,7 @@ public class AgmsDashboardServiceImpl implements AgmsDashboardService {
List
<
Achieve
>
achieves
=
n22SalaryService
.
searchStaffAchievementGetAchieveList
(
searchStaffAchievementResponseVO
);
achieveList
.
addAll
(
achieves
);
}
resultList
=
achieveList
;
}
}
else
if
(
"all"
.
equals
(
category
))
{
searchStaffAchievementRequestBody
.
setOrganization_id
(
"HX6ZCQ"
);
...
...
@@ -249,10 +257,11 @@ public class AgmsDashboardServiceImpl implements AgmsDashboardService {
searchStaffAchievementRequestBody
.
setIsdown
(
"1"
);
searchStaffAchievementResponseVO
=
n22SalaryService
.
searchStaffAchievement
(
searchStaffAchievementRequestBody
);
achieveList
=
n22SalaryService
.
searchStaffAchievementGetAchieveList
(
searchStaffAchievementResponseVO
);
resultList
=
n22SalaryService
.
searchStaffAchievementGetAchieveList
(
searchStaffAchievementResponseVO
);
}
return
achieve
List
;
return
result
List
;
}
/**
...
...
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