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
e81d4549
Commit
e81d4549
authored
May 28, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
薪资单-保单明细对不上
parent
c441ef1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
19 deletions
+9
-19
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerBasicInfoServiceImpl.java
+9
-19
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerBasicInfoServiceImpl.java
View file @
e81d4549
...
@@ -778,29 +778,19 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
...
@@ -778,29 +778,19 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
//查询所有订单,并根据支付id标记本次提现订单
//查询所有订单,并根据支付id标记本次提现订单
List
<
FortunePayToOrderInfo
>
fortunePayToOrderInfos
=
agmsFortuneDalService
.
fortunePayToOrder
(
new
Long
[]{
payId
});
List
<
FortunePayToOrderInfo
>
fortunePayToOrderInfos
=
agmsFortuneDalService
.
fortunePayToOrder
(
new
Long
[]{
payId
});
List
<
OtherCommission
>
otherCommissionList
=
this
.
createOtherCommissionList
(
fortunePayToOrderInfos
,
payId
);
responseBody
.
setOtherCommissionList
(
otherCommissionList
);
List
<
OtherCommission
>
otherCommissionList
=
responseBody
.
getOtherCommissionList
();
}
for
(
OtherCommission
otherCommission
:
otherCommissionList
)
{
// 此项为银盾在线佣金
}
if
(
"12C24EDF-83D7-081C-AE2C-085031C4DCAF"
.
equals
(
otherCommission
.
getProject_Id
()))
{
//获取withdrewId
AclCustomerFortune
fortune
=
aclCustomerFortuneMapper
.
queryByPayId
(
payId
);
otherCommission
.
setWithdrawedId
(
fortune
.
getWithdrawedId
());
}
private
List
<
OtherCommission
>
createOtherCommissionList
(
List
<
FortunePayToOrderInfo
>
fortunePayToOrderInfos
,
Long
payId
)
{
//获取withdrewId
AclCustomerFortune
fortune
=
aclCustomerFortuneMapper
.
queryByPayId
(
payId
);
List
<
OtherCommission
>
list
=
new
ArrayList
<>();
for
(
FortunePayToOrderInfo
orderInfo
:
fortunePayToOrderInfos
)
{
OtherCommission
otherCommission
=
new
OtherCommission
();
otherCommission
.
setCommissionName
(
"银盾在线佣金"
);
otherCommission
.
setCommission
(
String
.
valueOf
(
orderInfo
.
getReferralAmount
()));
if
(
fortune
!=
null
)
{
otherCommission
.
setWithdrawedId
(
fortune
.
getWithdrawedId
());
}
}
list
.
add
(
otherCommission
);
}
}
return
list
;
}
}
private
String
getPayoutYearmonth
(
SearchStaffSalaryDetailsRequestBody
requestVO
)
{
private
String
getPayoutYearmonth
(
SearchStaffSalaryDetailsRequestBody
requestVO
)
{
...
...
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