...
|
...
|
@@ -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
|
...
|
...
|
|