From 9c4545ae32c957a124be81382c26ab0e2e6074f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 18 Jul 2023 13:45:58 +0800 Subject: [PATCH] 1 --- business/partner/purchase/mtwm/order_comment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/partner/purchase/mtwm/order_comment.go b/business/partner/purchase/mtwm/order_comment.go index b671bfd9c..299d5c8ce 100644 --- a/business/partner/purchase/mtwm/order_comment.go +++ b/business/partner/purchase/mtwm/order_comment.go @@ -74,10 +74,10 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error) IsReplied: int8(mtwmComment.ReplyStatus), StoreID: storeDetail.ID, } - } else { if orderComment.IsReplied == 0 { orderComment.Content = mtwmComment.CommentContent orderComment.CommentCreatedAt = createdTime + } else { orderComment.Content = mtwmComment.AddComment if updatedTime, err := utils.TryStr2Time(mtwmComment.CommentTime); err == nil { orderComment.CommentCreatedAt = updatedTime