diff --git a/business/partner/purchase/mtwm/order_comment.go b/business/partner/purchase/mtwm/order_comment.go index 365b143b8..1439efb92 100644 --- a/business/partner/purchase/mtwm/order_comment.go +++ b/business/partner/purchase/mtwm/order_comment.go @@ -180,7 +180,6 @@ func GetMtwmCommentList4ShanGou(key string, appOrgCode string, startTime, endTim } func CommentListData(db *dao.DaoDB, skuList []*mtwmapi.CommentsList, startTime, endTime string) []*model.OrderComment { - globals.SugarLogger.Debugf("=========skuList:= %s", utils.Format4Output(skuList, false)) st, _ := utils.TryStr2Time(startTime) et, _ := utils.TryStr2Time(endTime) orderCommentList := make([]*model.OrderComment, 0, len(skuList)) @@ -234,8 +233,7 @@ func CommentListData(db *dao.DaoDB, skuList []*mtwmapi.CommentsList, startTime, } } - globals.SugarLogger.Debugf("=====ordercomment := %s", utils.Format4Output(orderComment, false)) - store, err := dao.GetStoreDetail2(db, 0, orderComment.VendorStoreID, model.VendorIDMTWM) + store, err := dao.GetStoreDetailByVendorStoreID(db, orderComment.VendorStoreID, orderComment.VendorID, "") if err != nil { globals.SugarLogger.Debugf("获取美团外卖差评列表,失败:%v", err) continue