修复待领取状态

This commit is contained in:
wh_zcy 2023-06-26 17:46:04 +08:00
parent b206bc1b38
commit ca95f7e02d

View File

@ -126,10 +126,14 @@ func (this *modelTask) TCondFinishNotify(uid string, conds []*pb.ConIProgress) {
task.Received = 1
}
} else {
newTask = append(newTask, &pb.TujianTask{
nt := &pb.TujianTask{
TaskId: k,
Cond: v,
})
}
if v.State == pb.BuriedItemFinishState_buried_finish {
nt.Received = 1
}
newTask = append(newTask, nt)
}
}
dt.Tasks = append(dt.Tasks, newTask...)