作者 tangxvhui

修正时间赋值错误

@@ -63,8 +63,8 @@ func (repo *StaffAssessRepository) Save(d *domain.StaffAssess) (*domain.StaffAss @@ -63,8 +63,8 @@ func (repo *StaffAssessRepository) Save(d *domain.StaffAssess) (*domain.StaffAss
63 Status: string(d.Status), 63 Status: string(d.Status),
64 BeginTime: d.BeginTime, 64 BeginTime: d.BeginTime,
65 EndTime: d.EndTime, 65 EndTime: d.EndTime,
66 - CreatedAt: d.EndTime,  
67 - UpdatedAt: d.CreatedAt, 66 + CreatedAt: d.CreatedAt,
  67 + UpdatedAt: d.UpdatedAt,
68 DeletedAt: d.DeletedAt, 68 DeletedAt: d.DeletedAt,
69 } 69 }
70 tx := repo.transactionContext.PgTx 70 tx := repo.transactionContext.PgTx
@@ -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