Commit d090f758 authored by hongguangwu's avatar hongguangwu

MVP1.4-B端社保、档案

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