|
|
@@ -831,15 +831,6 @@ handlingProportion,
|
|
|
reason="非车应收比例错误!";
|
|
|
}
|
|
|
}
|
|
|
- if (insPlyIncome.getAllFeeValue() != null && insPlyIncome.getAllFeeValue().compareTo(BigDecimal.ZERO) != 0) {
|
|
|
- totalAmount = totalAmount.add(insPlyIncome.getAllFeeValue()); //总金额
|
|
|
- }
|
|
|
- if (insPlyIncome.getCommissionFeevalue() != null && insPlyIncome.getCommissionFeevalue().compareTo(BigDecimal.ZERO) != 0) {
|
|
|
- totalHandingAmount = totalHandingAmount.add(insPlyIncome.getCommissionFeevalue()); //总手续费
|
|
|
- }
|
|
|
- if (insPlyIncome.getOtherFeevalue() != null && insPlyIncome.getOtherFeevalue().compareTo(BigDecimal.ZERO) != 0) {
|
|
|
- totalOtherAmount = totalOtherAmount.add(insPlyIncome.getOtherFeevalue()); //总跟单费
|
|
|
- }
|
|
|
//判断是否是相同保司机构
|
|
|
partnerCompaniesIdSet.add(insPlyIncome.getPartnerCompaniesId());
|
|
|
if(StringUtils.isNotEmpty(reason)){
|
|
|
@@ -847,6 +838,15 @@ handlingProportion,
|
|
|
resultNoSelect.add(objectObjectHashMap); // 添加未匹配的车牌号
|
|
|
}else {
|
|
|
ids.add(insPlyIncome.getId());
|
|
|
+ if (insPlyIncome.getAllFeeValue() != null && insPlyIncome.getAllFeeValue().compareTo(BigDecimal.ZERO) != 0) {
|
|
|
+ totalAmount = totalAmount.add(insPlyIncome.getAllFeeValue()); //总金额
|
|
|
+ }
|
|
|
+ if (insPlyIncome.getCommissionFeevalue() != null && insPlyIncome.getCommissionFeevalue().compareTo(BigDecimal.ZERO) != 0) {
|
|
|
+ totalHandingAmount = totalHandingAmount.add(insPlyIncome.getCommissionFeevalue()); //总手续费
|
|
|
+ }
|
|
|
+ if (insPlyIncome.getOtherFeevalue() != null && insPlyIncome.getOtherFeevalue().compareTo(BigDecimal.ZERO) != 0) {
|
|
|
+ totalOtherAmount = totalOtherAmount.add(insPlyIncome.getOtherFeevalue()); //总跟单费
|
|
|
+ }
|
|
|
}
|
|
|
} else {
|
|
|
objectObjectHashMap.put("reason","未查询车辆");
|