From c00083fd05c6648da181cb242e1384ef01745976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Sat, 10 Jun 2023 00:07:54 +0800 Subject: [PATCH] 1 --- business/jxcallback/orderman/orderman_ext.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/business/jxcallback/orderman/orderman_ext.go b/business/jxcallback/orderman/orderman_ext.go index 844895e77..858a62124 100644 --- a/business/jxcallback/orderman/orderman_ext.go +++ b/business/jxcallback/orderman/orderman_ext.go @@ -73,13 +73,13 @@ func (c *OrderManager) GetStoreOrderCountInfo(ctx *jxcontext.Context, storeID, l lastHours = defLastHours } //权限 - if permission.IsRoled(ctx) { - if storeIDsMap, err := permission.GetUserStoresResultMap(ctx.GetUserID()); err == nil { - if storeIDsMap[storeID] == 0 { - storeID = -1 - } - } - } + //if permission.IsRoled(ctx) { + // if storeIDsMap, err := permission.GetUserStoresResultMap(ctx.GetUserID()); err == nil { + // if storeIDsMap[storeID] == 0 { + // storeID = -1 + // } + // } + //} db := dao.GetDB() sql := ` SELECT t1.lock_status, t1.status, COUNT(*) count