作者 tangxvhui

优化

... ... @@ -827,6 +827,7 @@ func (srv TaskService) ListTaskRecord(param *command.ListTaskRecordCommand) (map
for _, val := range taskRecordList {
recordCreatedAt := val.CreatedAt.Local().Format("2006-01-02")
if nowDay == recordCreatedAt && val.AnomalyState != domain.AnomalyState1 {
cnt = cnt - 1
continue
}
item := adapter.TaskRecordAdapter{
... ...