|
@@ -2,6 +2,7 @@ package com.ym.mec.biz.service.impl;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.*;
|
|
|
+import java.util.stream.Collectors;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.ym.mec.biz.dal.dao.*;
|
|
@@ -609,7 +610,9 @@ public class DegreeRegistrationServiceImpl extends BaseServiceImpl<Integer, Degr
|
|
|
BigDecimal subjectLevelAmount = degree.getMoney() == null ? BigDecimal.ZERO : degree.getMoney();
|
|
|
BigDecimal theoryLevelAmount = degree.getTheoryMoney() == null ? BigDecimal.ZERO : degree.getTheoryMoney();
|
|
|
BigDecimal totalAmount = subjectLevelAmount.add(theoryLevelAmount);
|
|
|
+ Set<Integer> collect = dataList.stream().map(e -> e.getUserId()).collect(Collectors.toSet());
|
|
|
|
|
|
+ pageInfo.setApplyNum(collect.size());
|
|
|
pageInfo.setSubjectLevelAmount(subjectLevelAmount);
|
|
|
pageInfo.setTheoryLevelAmount(theoryLevelAmount);
|
|
|
pageInfo.setTotalAmount(totalAmount);
|