瀏覽代碼

fix 账号退款金额

zoujiajian 3 年之前
父節點
當前提交
5f3dba997d

+ 1 - 0
netflix-service/src/main/java/com/cyksj/service/mange/statistics/impl/StatisticsDataServiceImpl.java

@@ -99,6 +99,7 @@ public class StatisticsDataServiceImpl implements StatisticsDataService {
 			List<RegisterAccountData> collect = registerAccountData.stream().filter(data -> {
 				if (data.getNumOfUser() != null && data.getNumOfUser() > 0) {
 					data.setMoney(data.getMoney().divide(BigDecimal.valueOf(100)));
+					data.setRefundMoney(data.getRefundMoney() == null ? BigDecimal.ZERO : data.getRefundMoney().divide(BigDecimal.valueOf(100)));
 					return true;
 				}
 				return false;