正在显示
1 个修改的文件
包含
1 行增加
和
3 行删除
@@ -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, |
-
请 注册 或 登录 后发表评论