diff --git a/business/jxcallback/orderman/orderman_ext.go b/business/jxcallback/orderman/orderman_ext.go index 222ae9038..9367d97e2 100644 --- a/business/jxcallback/orderman/orderman_ext.go +++ b/business/jxcallback/orderman/orderman_ext.go @@ -934,8 +934,9 @@ func (c *OrderManager) GetAfsOrders(ctx *jxcontext.Context, keyword, afsOrderID, offset = jxutils.FormalizePageOffset(offset) sql := ` SELECT SQL_CALC_FOUND_ROWS - t1.* + t1.*, t2.name store_name FROM afs_order t1 + LEFT JOIN store t2 ON t2.id = IF(t1.jx_store_id != 0, t1.jx_store_id, t1.store_id) ` var ( sqlWhere string diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index e7a6ac260..36749e2cc 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -468,7 +468,7 @@ func doDailyWork() { //只传toDate默认刷新toDate到5天以前的订单 orderman.RefreshOrdersWithoutJxStoreID(jxcontext.AdminCtx, "", "", true, true) //刷新京东门店的等级 - cms.RefreshJdLevel(jxcontext.AdminCtx) + // cms.RefreshJdLevel(jxcontext.AdminCtx) //删除操作日志 // event.DeleteOperateEventAndDetail(jxcontext.AdminCtx, time.Now().AddDate(0, -3, 0)) //禁用没有绑定的门店 @@ -478,7 +478,7 @@ func doDailyWork() { //同步银豹到京西 // cms.CurVendorSync.SyncStoreSkusFromYb(jxcontext.AdminCtx, nil, true, true) //同步上架京东商城待售商品 - cms.RefreshJdsSkusStatus(jxcontext.AdminCtx) + // cms.RefreshJdsSkusStatus(jxcontext.AdminCtx) //同步美团配送与否状态及美团门店是否存在 cms.SetMTPSStatus(jxcontext.AdminCtx, 0, 0) //售后单如果超过12小时没有审核,就自动通过