|
@@ -979,13 +979,13 @@ func (srv TaskService) ListTaskRecord(param *command.ListTaskRecordCommand) (map |
|
@@ -979,13 +979,13 @@ func (srv TaskService) ListTaskRecord(param *command.ListTaskRecordCommand) (map |
979
|
}
|
979
|
}
|
980
|
|
980
|
|
981
|
resultList := []adapter.TaskRecordAdapter{}
|
981
|
resultList := []adapter.TaskRecordAdapter{}
|
982
|
- nowDay := time.Now().Format("2006-01-02")
|
982
|
+ //nowDay := time.Now().Format("2006-01-02")
|
983
|
for _, val := range taskRecordList {
|
983
|
for _, val := range taskRecordList {
|
984
|
// 跳过今天
|
984
|
// 跳过今天
|
985
|
- createdAtDay := val.CreatedAt.Local().Format("2006-01-02")
|
|
|
986
|
- if createdAtDay == nowDay {
|
|
|
987
|
- continue
|
|
|
988
|
- }
|
985
|
+ // createdAtDay := val.CreatedAt.Local().Format("2006-01-02")
|
|
|
986
|
+ // if createdAtDay == nowDay {
|
|
|
987
|
+ // continue
|
|
|
988
|
+ // }
|
989
|
item := adapter.TaskRecordAdapter{
|
989
|
item := adapter.TaskRecordAdapter{
|
990
|
Id: val.Id,
|
990
|
Id: val.Id,
|
991
|
StaffAssessId: val.StaffAssessId,
|
991
|
StaffAssessId: val.StaffAssessId,
|
|
@@ -1004,7 +1004,7 @@ func (srv TaskService) ListTaskRecord(param *command.ListTaskRecordCommand) (map |
|
@@ -1004,7 +1004,7 @@ func (srv TaskService) ListTaskRecord(param *command.ListTaskRecordCommand) (map |
1004
|
PlanCompletedAt: "",
|
1004
|
PlanCompletedAt: "",
|
1005
|
RealCompletedAt: "",
|
1005
|
RealCompletedAt: "",
|
1006
|
},
|
1006
|
},
|
1007
|
- CreatedAt: createdAtDay,
|
1007
|
+ CreatedAt: val.CreatedAt.Local().Format("2006-01-02"),
|
1008
|
}
|
1008
|
}
|
1009
|
t1 := time.Unix(val.TaskStageCheck.PlanCompletedAt, 0).Local().Format("2006-01-02")
|
1009
|
t1 := time.Unix(val.TaskStageCheck.PlanCompletedAt, 0).Local().Format("2006-01-02")
|
1010
|
item.TaskStageCheck.PlanCompletedAt = t1
|
1010
|
item.TaskStageCheck.PlanCompletedAt = t1
|