This commit is contained in:
邹宗楠
2024-08-05 13:42:45 +08:00
parent b416025a23
commit 35acfcf795
2 changed files with 7 additions and 9 deletions

View File

@@ -38,14 +38,12 @@ func GetBadCommentOrderId(jxStoreId int, startTime, endTime time.Time, foodNameL
vendorOrderIdList = append(vendorOrderIdList, v.VendorOrderId)
}
}
if jxStoreId == 669201 {
globals.SugarLogger.Debugf("commentOrder name list := %s", utils.Format4Output(commentOrder, false))
globals.SugarLogger.Debugf("foodNameList name list := %s", utils.Format4Output(foodNameList, false))
globals.SugarLogger.Debugf("jxStoreId name list := %s", utils.Format4Output(jxStoreId, false))
globals.SugarLogger.Debugf("jxStoreId name list start := %s", utils.Format4Output(startTime, false))
globals.SugarLogger.Debugf("jxStoreId name list endTime:= %s", utils.Format4Output(endTime, false))
globals.SugarLogger.Debugf("--------------------------------------")
}
globals.SugarLogger.Debugf("commentOrder name list := %s", utils.Format4Output(commentOrder, false))
globals.SugarLogger.Debugf("foodNameList name list := %s", utils.Format4Output(foodNameList, false))
globals.SugarLogger.Debugf("jxStoreId name list := %s", utils.Format4Output(jxStoreId, false))
globals.SugarLogger.Debugf("jxStoreId name list start := %s", utils.Format4Output(startTime, false))
globals.SugarLogger.Debugf("jxStoreId name list endTime:= %s", utils.Format4Output(endTime, false))
globals.SugarLogger.Debugf("--------------------------------------")
sql2 := `SELECT * FROM order_sku_financial WHERE vendor_order_id = ? AND is_afs_order = 0 AND vendor_id = 1 `
mathProbability := make(map[string]float64, 0)

View File

@@ -235,7 +235,7 @@ func CommentListData(db *dao.DaoDB, skuList []*mtwmapi.CommentsList, startTime,
store, err := dao.GetStoreDetailByVendorStoreID(db, orderComment.VendorStoreID, orderComment.VendorID, "")
if err != nil {
globals.SugarLogger.Debugf("获取美团外卖差评列表,失败:%v", err)
globals.SugarLogger.Debugf("获取美团外卖差评列表,失败:%s,%v", orderComment.VendorStoreID, err)
continue
}
orderComment.StoreID = store.ID