作者 陈志颖

fix:激励金额时间段匹配

@@ -1472,7 +1472,7 @@ func (dividendsEstimateService *DividendsEstimateService) SearchMoneyIncentivesE @@ -1472,7 +1472,7 @@ func (dividendsEstimateService *DividendsEstimateService) SearchMoneyIncentivesE
1472 // 校验当前时间和激励阶段是否匹配 1472 // 校验当前时间和激励阶段是否匹配
1473 currentTime := time.Now() 1473 currentTime := time.Now()
1474 for _, rule := range cooperationContract.MoneyIncentivesRules { 1474 for _, rule := range cooperationContract.MoneyIncentivesRules {
1475 - if currentTime.After(rule.MoneyIncentivesTime) || currentTime.Equal(rule.MoneyIncentivesTime) { 1475 + if currentTime.Before(rule.MoneyIncentivesTime) {
1476 delete(stageUndertakerMap, rule.MoneyIncentivesStage) 1476 delete(stageUndertakerMap, rule.MoneyIncentivesStage)
1477 } 1477 }
1478 } 1478 }