浏览代码

首页新增总收入(现金+余额)

zouxuan 4 年之前
父节点
当前提交
929741d3be
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/IndexBaseMonthDataServiceImpl.java

+ 2 - 2
mec-biz/src/main/java/com/ym/mec/biz/service/impl/IndexBaseMonthDataServiceImpl.java

@@ -112,7 +112,7 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
 		typeDateMap.put(FINANCE_AMOUNT,indexBaseMonthDataDao.getFinanceActualDataWithTimely(startDate.toString(), endDate.toString(), new ArrayList<>(organIds)));
 		List<IndexBaseMonthData> totalAmountDataWithTimely = indexBaseMonthDataDao.getTotalAmountDataWithTimely(startDate.toString(), endDate.toString(), new ArrayList<>(organIds));
 
-		if(financePayDataWithTimely.size() > 0){
+		/*if(financePayDataWithTimely.size() > 0){
 			for (IndexBaseMonthData indexBaseMonthData : financePayDataWithTimely) {
 				BigDecimal percent = indexBaseMonthData.getPercent();
 				if(percent != null && percent.doubleValue() != 0d){
@@ -140,7 +140,7 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
 				}
 			}
 			totalAmountDataWithTimely = totalAmountDataWithTimely.stream().sorted(Comparator.comparing(IndexBaseMonthData::getMonth)).collect(Collectors.toList());
-		}
+		}*/
 
 		typeDateMap.put(IndexDataType.TOTAL_AMOUNT,totalAmountDataWithTimely);