Commit d090f758 authored by hongguangwu's avatar hongguangwu

MVP1.4-B端社保、档案

parent f36f00b6
...@@ -3390,17 +3390,22 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -3390,17 +3390,22 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
HashMap<String,PaymentBusinessPageVo> pageVoHashMap = new HashMap<>(); HashMap<String,PaymentBusinessPageVo> pageVoHashMap = new HashMap<>();
if (Common.isNotNull(paymentAllInfoVoList)){ if (Common.isNotNull(paymentAllInfoVoList)){
PaymentBusinessPageVo pageVo; PaymentBusinessPageVo pageVo;
String payMonth;
for (TPaymentInfoVo infoVo:paymentAllInfoVoList){ for (TPaymentInfoVo infoVo:paymentAllInfoVoList){
pageVo = pageVoHashMap.get(infoVo.getSocialPayMonth()); payMonth = infoVo.getSocialPayMonth();
if (null == pageVo){ if (Common.isEmpty(payMonth)) {
pageVo = new PaymentBusinessPageVo(); payMonth = infoVo.getProvidentPayMonth();
} }
if (Common.isNotNull(infoVo.getSocialPayMonth())){ if (Common.isNotNull(payMonth)){
pageVo.setMonth(infoVo.getSocialPayMonth()); pageVo = pageVoHashMap.get(payMonth);
if (null == pageVo){
pageVo = new PaymentBusinessPageVo();
}
pageVo.setMonth(payMonth);
// 处理合计
initPaymentSum(pageVo,false, infoVo);
pageVoHashMap.put(payMonth,pageVo);
} }
// 处理合计
initPaymentSum(pageVo,false, infoVo);
pageVoHashMap.put(infoVo.getSocialPayMonth(),pageVo);
} }
} }
if (Common.isNotNull(pageVoHashMap)){ if (Common.isNotNull(pageVoHashMap)){
......
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