作者 tangxvhui

调整任务反馈列表输出

@@ -1018,11 +1018,9 @@ func (srv TaskService) ListTaskRecord(param *command.ListTaskRecordCommand) (map @@ -1018,11 +1018,9 @@ func (srv TaskService) ListTaskRecord(param *command.ListTaskRecordCommand) (map
1018 nowDay := time.Now().Format("2006-01-02") 1018 nowDay := time.Now().Format("2006-01-02")
1019 for _, val := range taskRecordList { 1019 for _, val := range taskRecordList {
1020 recordCreatedAt := val.CreatedAt.Local().Format("2006-01-02") 1020 recordCreatedAt := val.CreatedAt.Local().Format("2006-01-02")
1021 -  
1022 - if nowDay == recordCreatedAt && val.AnomalyState == domain.AnomalyStateInit { 1021 + if nowDay == recordCreatedAt {
1023 continue 1022 continue
1024 } 1023 }
1025 -  
1026 item := adapter.TaskRecordAdapter{ 1024 item := adapter.TaskRecordAdapter{
1027 Id: val.Id, 1025 Id: val.Id,
1028 StaffAssessId: val.StaffAssessId, 1026 StaffAssessId: val.StaffAssessId,