Commit 4c7594e8 authored by hongguangwu's avatar hongguangwu

帮胡雨辰提交

parent c6bc6479
......@@ -6111,10 +6111,16 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
incomeDetail.setSourceType(CommonConstants.THREE_STRING);
R<TIncomeDetailReturnVo> detailList = socialDaprUtils.getTIncomeDetailList(incomeDetail);
if(Common.isNotNull(detailList) && detailList.getCode() == CommonConstants.SUCCESS
&& detailList.getData().getDetailList().size() > 0){
&& !detailList.getData().getDetailList().isEmpty()){
incomeDetailList = detailList.getData().getDetailList();
BigDecimal sumMoney = BigDecimal.ZERO;
for (TIncomeDetail income : incomeDetailList) {
sumMoney = BigDecimalUtils.safeAdd(income.getMoney(), sumMoney);
if (sumMoney.compareTo(BigDecimal.ZERO) > 0) {
isExist = true;
}
}
}
//预估或者实缴保费
BigDecimal fee;
......
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