Commit 863085e1 by jianan

出账检核-增加币种61

parent bef5353a
......@@ -42,12 +42,6 @@ public class ApiExpectedFortunePageResponse {
private String payableNo;
/**
* 关联业务编号
*/
@Schema(description = "关联业务编号")
private String associatedPayableNo;
/**
* 保单号
*/
@Schema(description = "policy no")
......
......@@ -158,8 +158,11 @@ public class ExpectedFortuneServiceImpl extends ServiceImpl<ExpectedFortuneMappe
// 查找对应的实际发佣
List<ApiExpectedFortunePageResponse> matchedList = actualMap.get(expected.getExpectedFortuneBizId());
if (CollUtil.isNotEmpty(matchedList)) {
// 设置实际发佣的关联业务编号
matchedList.forEach(actual -> actual.setAssociatedPayableNo(expected.getPayableNo()));
// 设置实际发佣的已出账比例、未出账比例 为 expected 的已出账比例、未出账比例
matchedList.forEach(actual -> {
actual.setPaidRatio(expected.getPaidRatio());
actual.setUnpaidRatio(expected.getUnpaidRatio());
});
sortedList.addAll(matchedList);
matchedActualPayableNos.add(expected.getExpectedFortuneBizId());
......
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