Merge branch 'test' of http://gitlab.fjmaimaimai.com/allied-creation/performance into test
正在显示
2 个修改的文件
包含
3 行增加
和
0 行删除
@@ -12,6 +12,7 @@ type StaffAssessCache struct { | @@ -12,6 +12,7 @@ type StaffAssessCache struct { | ||
12 | Id int64 `comment:"ID" pg:",pk"` | 12 | Id int64 `comment:"ID" pg:",pk"` |
13 | AssessId int64 `comment:"评估项ID"` | 13 | AssessId int64 `comment:"评估项ID"` |
14 | AssessContent []domain.AssessContent `comment:"评估项提交数据"` | 14 | AssessContent []domain.AssessContent `comment:"评估项提交数据"` |
15 | + AssessTaskStages []domain.AssessTaskStage `comment:"任务项里程碑数据"` | ||
15 | CreatedAt time.Time `comment:"创建时间"` | 16 | CreatedAt time.Time `comment:"创建时间"` |
16 | UpdatedAt time.Time `comment:"更新时间"` | 17 | UpdatedAt time.Time `comment:"更新时间"` |
17 | DeletedAt *time.Time `comment:"删除时间"` | 18 | DeletedAt *time.Time `comment:"删除时间"` |
@@ -27,6 +27,7 @@ func (repo *StaffAssessCacheRepository) TransformToDomain(m *models.StaffAssessC | @@ -27,6 +27,7 @@ func (repo *StaffAssessCacheRepository) TransformToDomain(m *models.StaffAssessC | ||
27 | Id: m.Id, | 27 | Id: m.Id, |
28 | AssessId: m.AssessId, | 28 | AssessId: m.AssessId, |
29 | AssessContent: m.AssessContent, | 29 | AssessContent: m.AssessContent, |
30 | + AssessTaskStages: m.AssessTaskStages, | ||
30 | CreatedAt: m.CreatedAt, | 31 | CreatedAt: m.CreatedAt, |
31 | UpdatedAt: m.UpdatedAt, | 32 | UpdatedAt: m.UpdatedAt, |
32 | DeletedAt: m.DeletedAt, | 33 | DeletedAt: m.DeletedAt, |
@@ -38,6 +39,7 @@ func (repo *StaffAssessCacheRepository) TransformToModel(d *domain.StaffAssessCa | @@ -38,6 +39,7 @@ func (repo *StaffAssessCacheRepository) TransformToModel(d *domain.StaffAssessCa | ||
38 | Id: d.Id, | 39 | Id: d.Id, |
39 | AssessId: d.AssessId, | 40 | AssessId: d.AssessId, |
40 | AssessContent: d.AssessContent, | 41 | AssessContent: d.AssessContent, |
42 | + AssessTaskStages: d.AssessTaskStages, | ||
41 | CreatedAt: d.CreatedAt, | 43 | CreatedAt: d.CreatedAt, |
42 | UpdatedAt: d.UpdatedAt, | 44 | UpdatedAt: d.UpdatedAt, |
43 | DeletedAt: d.DeletedAt, | 45 | DeletedAt: d.DeletedAt, |
-
请 注册 或 登录 后发表评论