作者 陈志颖

fix:取消金额激励分红状态未更新

@@ -96,6 +96,10 @@ func (domainService *CancelDividendsEstimateService) CancelEstimate(dividendsEst @@ -96,6 +96,10 @@ func (domainService *CancelDividendsEstimateService) CancelEstimate(dividendsEst
96 return nil, err2 96 return nil, err2
97 } else { 97 } else {
98 if countRelative > 0 { 98 if countRelative > 0 {
  99 + for i, _ := range dividendsEstimatesRelative {
  100 + dividendsEstimatesRelative[i].IsCanceled = true
  101 + dividendsEstimatesRelative[i].Operator = operator
  102 + }
99 dividendsEstimatesRelativeCanceled, err3 := dividendsEstimateRepository.UpdateMany(dividendsEstimatesRelative) 103 dividendsEstimatesRelativeCanceled, err3 := dividendsEstimateRepository.UpdateMany(dividendsEstimatesRelative)
100 if err3 != nil { 104 if err3 != nil {
101 return nil, err3 105 return nil, err3