diff --git a/business/jxstore/report/report.go b/business/jxstore/report/report.go index ae1f1fffe..a4818f116 100644 --- a/business/jxstore/report/report.go +++ b/business/jxstore/report/report.go @@ -415,7 +415,6 @@ func GetStoreManageState(ctx *jxcontext.Context, storeIDs []int, vendorID int, f fromTimeT, toTimeT = utils.Str2Time(fromTime), utils.Str2Time(toTime) dayCount = int(fromTimeT.Sub(toTimeT).Hours())/24 + 1 //查的几天 ) - fmt.Println("storeIDs1111111111111111111111111111111111", storeIDs) //权限 if permission.IsRoled(ctx) { if storeIDsMap, err := permission.GetUserStoresResultMap(ctx.GetUserID()); err == nil { @@ -427,10 +426,12 @@ func GetStoreManageState(ctx *jxcontext.Context, storeIDs []int, vendorID int, f } } } else { + fmt.Println("storeIDs1111111111111111111111111111111111", storeIDsMap, ctx.GetUserID()) for k, _ := range storeIDsMap { storeIDs2 = append(storeIDs2, k) } } + fmt.Println("storeIDs1111111111111111111111111111111111", storeIDs2) storeIDs = nil storeIDs = storeIDs2 }