1
This commit is contained in:
@@ -38,14 +38,12 @@ func GetBadCommentOrderId(jxStoreId int, startTime, endTime time.Time, foodNameL
|
|||||||
vendorOrderIdList = append(vendorOrderIdList, v.VendorOrderId)
|
vendorOrderIdList = append(vendorOrderIdList, v.VendorOrderId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if jxStoreId == 669201 {
|
|
||||||
globals.SugarLogger.Debugf("commentOrder name list := %s", utils.Format4Output(commentOrder, false))
|
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("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 := %s", utils.Format4Output(jxStoreId, false))
|
||||||
globals.SugarLogger.Debugf("jxStoreId name list start := %s", utils.Format4Output(startTime, 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("jxStoreId name list endTime:= %s", utils.Format4Output(endTime, false))
|
||||||
globals.SugarLogger.Debugf("--------------------------------------")
|
globals.SugarLogger.Debugf("--------------------------------------")
|
||||||
}
|
|
||||||
|
|
||||||
sql2 := `SELECT * FROM order_sku_financial WHERE vendor_order_id = ? AND is_afs_order = 0 AND vendor_id = 1 `
|
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)
|
mathProbability := make(map[string]float64, 0)
|
||||||
|
|||||||
@@ -235,7 +235,7 @@ func CommentListData(db *dao.DaoDB, skuList []*mtwmapi.CommentsList, startTime,
|
|||||||
|
|
||||||
store, err := dao.GetStoreDetailByVendorStoreID(db, orderComment.VendorStoreID, orderComment.VendorID, "")
|
store, err := dao.GetStoreDetailByVendorStoreID(db, orderComment.VendorStoreID, orderComment.VendorID, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
globals.SugarLogger.Debugf("获取美团外卖差评列表,失败:%v", err)
|
globals.SugarLogger.Debugf("获取美团外卖差评列表,失败:%s,%v", orderComment.VendorStoreID, err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
orderComment.StoreID = store.ID
|
orderComment.StoreID = store.ID
|
||||||
|
|||||||
Reference in New Issue
Block a user