Merge branch 'mark' of e.coding.net:rosydev/jx-callback into mark
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
package misc
|
package misc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"errors"
|
||||||
|
"fmt"
|
||||||
"math"
|
"math"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
@@ -31,6 +33,9 @@ func GetStoreSkuSalesInfo(ctx *jxcontext.Context, storeID int) (outStoreSkuSales
|
|||||||
storeMapData[value.ID] = value
|
storeMapData[value.ID] = value
|
||||||
}
|
}
|
||||||
curStoreInfo := storeMapData[storeID]
|
curStoreInfo := storeMapData[storeID]
|
||||||
|
if curStoreInfo == nil {
|
||||||
|
return nil, errors.New(fmt.Sprintf("未找到商店:[%d]", storeID))
|
||||||
|
}
|
||||||
cityCode := curStoreInfo.CityCode
|
cityCode := curStoreInfo.CityCode
|
||||||
|
|
||||||
//获取本市商品总销量
|
//获取本市商品总销量
|
||||||
|
|||||||
Reference in New Issue
Block a user