正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -827,6 +827,7 @@ func (srv TaskService) ListTaskRecord(param *command.ListTaskRecordCommand) (map | @@ -827,6 +827,7 @@ func (srv TaskService) ListTaskRecord(param *command.ListTaskRecordCommand) (map | ||
827 | for _, val := range taskRecordList { | 827 | for _, val := range taskRecordList { |
828 | recordCreatedAt := val.CreatedAt.Local().Format("2006-01-02") | 828 | recordCreatedAt := val.CreatedAt.Local().Format("2006-01-02") |
829 | if nowDay == recordCreatedAt && val.AnomalyState != domain.AnomalyState1 { | 829 | if nowDay == recordCreatedAt && val.AnomalyState != domain.AnomalyState1 { |
830 | + cnt = cnt - 1 | ||
830 | continue | 831 | continue |
831 | } | 832 | } |
832 | item := adapter.TaskRecordAdapter{ | 833 | item := adapter.TaskRecordAdapter{ |
-
请 注册 或 登录 后发表评论