...
|
...
|
@@ -1430,7 +1430,10 @@ func (dividendsEstimateService *DividendsEstimateService) SearchMoneyIncentivesE |
|
|
}); err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
|
|
} else {
|
|
|
if countDividendsEstimates > 0 { // 已有分红
|
|
|
log.Logger.Info("获取承接人相关的金额激励预算信息", map[string]interface{}{
|
|
|
"dividendsEstimates": dividendsEstimates,
|
|
|
})
|
|
|
if countDividendsEstimates > 0 { // 已有分红预算
|
|
|
for _, dividendsEstimate := range dividendsEstimates {
|
|
|
if dividendsEstimate.IsCanceled { // 分红预算单状态为已取消
|
|
|
stageUndertakerMap[dividendsEstimate.DividendsStage] = append(stageUndertakerMap[dividendsEstimate.DividendsStage], undertaker)
|
...
|
...
|
|