正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
@@ -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 |
-
请 注册 或 登录 后发表评论