From dad33b003e7016090fbb727a4933473a557b6f70 Mon Sep 17 00:00:00 2001 From: cjy Date: Fri, 5 Sep 2025 09:34:07 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E4=BF=AE=E5=A4=8D=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/controller/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/task.go b/internal/controller/task.go index 6cfdb50..005a49d 100644 --- a/internal/controller/task.go +++ b/internal/controller/task.go @@ -243,7 +243,7 @@ func (b *BundleProvider) GetTaskAssignRecordsList(_ context.Context, req *bundle // convertToTaskAssignRecordInfo 转换TaskAssignRecords模型为proto消息 func convertToTaskAssignRecordInfo(record *dao.TaskAssignRecordsResponse) *bundle.TaskAssignRecordInfo { var completeTime string - if !record.CompleteTime.IsZero() { + if record.CompleteTime != nil { completeTime = record.CompleteTime.Format("2006-01-02 15:04:05") }