作者 tangxvhui

优化

@@ -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{