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