Commit e81d4549 by jianan

薪资单-保单明细对不上

parent c441ef1c
...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment