作者 陈志颖

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

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