Authored by LUOXC

no message

@@ -59,7 +59,7 @@ public class InviteSettlementUtils { @@ -59,7 +59,7 @@ public class InviteSettlementUtils {
59 * @return 59 * @return
60 */ 60 */
61 public static BigDecimal calculateSettleAmountOfType2(LocalDateTime inviteTime, List<InviteSettlementItem> items) { 61 public static BigDecimal calculateSettleAmountOfType2(LocalDateTime inviteTime, List<InviteSettlementItem> items) {
62 - // 邀请月初开始计算 62 + // 被邀请当月月初开始计算
63 LocalDateTime calculateInviteTime = LocalDateTime.of(LocalDate.of(inviteTime.getYear(), inviteTime.getMonth(), 1), LocalTime.MIN); 63 LocalDateTime calculateInviteTime = LocalDateTime.of(LocalDate.of(inviteTime.getYear(), inviteTime.getMonth(), 1), LocalTime.MIN);
64 // 一个月内 64 // 一个月内
65 BigDecimal inOneMonthTotalSettleAmount = items.stream() 65 BigDecimal inOneMonthTotalSettleAmount = items.stream()