正在显示
2 个修改的文件
包含
4 行增加
和
0 行删除
@@ -32,6 +32,7 @@ func TransformToCooperationContractDomainModelFromPgModels( | @@ -32,6 +32,7 @@ func TransformToCooperationContractDomainModelFromPgModels( | ||
32 | UpdatedAt: rule.UpdatedAt, | 32 | UpdatedAt: rule.UpdatedAt, |
33 | DeletedAt: rule.DeletedAt, | 33 | DeletedAt: rule.DeletedAt, |
34 | CreatedAt: rule.CreatedAt, | 34 | CreatedAt: rule.CreatedAt, |
35 | + Remarks: rule.Remarks, | ||
35 | }) | 36 | }) |
36 | } | 37 | } |
37 | // 金额激励规则 | 38 | // 金额激励规则 |
@@ -54,6 +55,7 @@ func TransformToCooperationContractDomainModelFromPgModels( | @@ -54,6 +55,7 @@ func TransformToCooperationContractDomainModelFromPgModels( | ||
54 | UpdatedAt: rule.UpdatedAt, | 55 | UpdatedAt: rule.UpdatedAt, |
55 | DeletedAt: rule.DeletedAt, | 56 | DeletedAt: rule.DeletedAt, |
56 | CreatedAt: rule.CreatedAt, | 57 | CreatedAt: rule.CreatedAt, |
58 | + Remarks: rule.Remarks, | ||
57 | }) | 59 | }) |
58 | } | 60 | } |
59 | // 相关人列表 | 61 | // 相关人列表 |
@@ -180,6 +180,7 @@ func (repository *CooperationContractRepository) Save(cooperationContract *domai | @@ -180,6 +180,7 @@ func (repository *CooperationContractRepository) Save(cooperationContract *domai | ||
180 | UpdatedAt: time.Time{}, | 180 | UpdatedAt: time.Time{}, |
181 | DeletedAt: time.Time{}, | 181 | DeletedAt: time.Time{}, |
182 | CreatedAt: time.Now(), | 182 | CreatedAt: time.Now(), |
183 | + Remarks: rule.Remarks, | ||
183 | }) | 184 | }) |
184 | } | 185 | } |
185 | if len(dividendsIncentivesRulesModel) > 0 { | 186 | if len(dividendsIncentivesRulesModel) > 0 { |
@@ -206,6 +207,7 @@ func (repository *CooperationContractRepository) Save(cooperationContract *domai | @@ -206,6 +207,7 @@ func (repository *CooperationContractRepository) Save(cooperationContract *domai | ||
206 | UpdatedAt: time.Time{}, | 207 | UpdatedAt: time.Time{}, |
207 | DeletedAt: time.Time{}, | 208 | DeletedAt: time.Time{}, |
208 | CreatedAt: time.Now(), | 209 | CreatedAt: time.Now(), |
210 | + Remarks: rule.Remarks, | ||
209 | }) | 211 | }) |
210 | } | 212 | } |
211 | if len(moneyIncentivesRulesModel) > 0 { | 213 | if len(moneyIncentivesRulesModel) > 0 { |
-
请 注册 或 登录 后发表评论