作者 tangxvhui

更新

... ... @@ -846,6 +846,9 @@ func (srv TaskService) ListTaskRecord(param *command.ListTaskRecordCommand) (map
},
CreatedAt: recordCreatedAt,
}
if val.AnomalyState == domain.AnomalyStateInit {
item.AnomalyState = domain.AnomalyState0
}
t1 := time.Unix(val.TaskStageCheck.PlanCompletedAt, 0).Local().Format("2006-01-02")
item.TaskStageCheck.PlanCompletedAt = t1
if val.TaskStageCheck.RealCompletedAt > 0 {
... ...