|
@@ -34,8 +34,8 @@ func (repo *StaffAssessTaskRepository) TransformToDomain(d *models.StaffAssessTa |
|
@@ -34,8 +34,8 @@ func (repo *StaffAssessTaskRepository) TransformToDomain(d *models.StaffAssessTa |
34
|
EndTime: d.EndTime,
|
34
|
EndTime: d.EndTime,
|
35
|
StepList: d.StepList,
|
35
|
StepList: d.StepList,
|
36
|
ExecutorId: d.ExecutorId,
|
36
|
ExecutorId: d.ExecutorId,
|
37
|
- CreatedAt: d.EndTime,
|
|
|
38
|
- UpdatedAt: d.CreatedAt,
|
37
|
+ CreatedAt: d.CreatedAt,
|
|
|
38
|
+ UpdatedAt: d.UpdatedAt,
|
39
|
DeletedAt: d.DeletedAt,
|
39
|
DeletedAt: d.DeletedAt,
|
40
|
}
|
40
|
}
|
41
|
}
|
41
|
}
|
|
@@ -53,8 +53,8 @@ func (repo *StaffAssessTaskRepository) Save(d *domain.StaffAssessTask) (*domain. |
|
@@ -53,8 +53,8 @@ func (repo *StaffAssessTaskRepository) Save(d *domain.StaffAssessTask) (*domain. |
53
|
StepList: d.StepList,
|
53
|
StepList: d.StepList,
|
54
|
BeginTime: d.BeginTime,
|
54
|
BeginTime: d.BeginTime,
|
55
|
EndTime: d.EndTime,
|
55
|
EndTime: d.EndTime,
|
56
|
- CreatedAt: d.EndTime,
|
|
|
57
|
- UpdatedAt: d.CreatedAt,
|
56
|
+ CreatedAt: d.CreatedAt,
|
|
|
57
|
+ UpdatedAt: d.UpdatedAt,
|
58
|
DeletedAt: d.DeletedAt,
|
58
|
DeletedAt: d.DeletedAt,
|
59
|
}
|
59
|
}
|
60
|
tx := repo.transactionContext.PgTx
|
60
|
tx := repo.transactionContext.PgTx
|