作者 陈志颖

fix:合约规则说明

... ... @@ -32,6 +32,7 @@ func TransformToCooperationContractDomainModelFromPgModels(
UpdatedAt: rule.UpdatedAt,
DeletedAt: rule.DeletedAt,
CreatedAt: rule.CreatedAt,
Remarks: rule.Remarks,
})
}
// 金额激励规则
... ... @@ -54,6 +55,7 @@ func TransformToCooperationContractDomainModelFromPgModels(
UpdatedAt: rule.UpdatedAt,
DeletedAt: rule.DeletedAt,
CreatedAt: rule.CreatedAt,
Remarks: rule.Remarks,
})
}
// 相关人列表
... ...
... ... @@ -180,6 +180,7 @@ func (repository *CooperationContractRepository) Save(cooperationContract *domai
UpdatedAt: time.Time{},
DeletedAt: time.Time{},
CreatedAt: time.Now(),
Remarks: rule.Remarks,
})
}
if len(dividendsIncentivesRulesModel) > 0 {
... ... @@ -206,6 +207,7 @@ func (repository *CooperationContractRepository) Save(cooperationContract *domai
UpdatedAt: time.Time{},
DeletedAt: time.Time{},
CreatedAt: time.Now(),
Remarks: rule.Remarks,
})
}
if len(moneyIncentivesRulesModel) > 0 {
... ...