From ca95f7e02d55931c0f049655fcdf56f6e0eab77c Mon Sep 17 00:00:00 2001 From: wh_zcy Date: Mon, 26 Jun 2023 17:46:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BE=85=E9=A2=86=E5=8F=96?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/smithy/model_task.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/smithy/model_task.go b/modules/smithy/model_task.go index efe7e25fb..adf672a50 100644 --- a/modules/smithy/model_task.go +++ b/modules/smithy/model_task.go @@ -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...)