|
@@ -3,6 +3,7 @@ package com.leromro.core.service.impl;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.List;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
+import com.leromro.common.utils.SecurityUtils;
|
|
|
import com.leromro.core.domain.vo.AccountChangeTotalMoney;
|
|
|
import com.leromro.core.domain.vo.ClientAccountChangeVO;
|
|
|
import com.leromro.core.domain.vo.VolunteerAccountChangeVO;
|
|
@@ -102,6 +103,7 @@ public class VolunteerAccountChangeServiceImpl extends ServiceImpl<VolunteerAcco
|
|
|
@Override
|
|
|
public AccountChangeTotalMoney getVolunteerAccountTotalChangeMoney(VolunteerAccountChange volunteerAccountChange) {
|
|
|
AccountChangeTotalMoney totalMoney = new AccountChangeTotalMoney();
|
|
|
+ volunteerAccountChange.setVolunteerId(SecurityUtils.getUserId());
|
|
|
List<VolunteerAccountChangeVO> list = volunteerAccountChangeMapper.selectVolunteerAccountChangeListAndServiceType(volunteerAccountChange);
|
|
|
//算出总收入以及总支出
|
|
|
BigDecimal totalEarning = list.stream()
|