- 将大部分使用IsFakeID改为IsEmptyID,这样更符合语义
This commit is contained in:
@@ -182,7 +182,7 @@ func (p *PurchaseHandler) GetStoresSku(ctx *jxcontext.Context, parentTask tasksc
|
||||
var skuInfoList []*jdapi.BaseStockCenterRequest
|
||||
skuMap := make(map[int64]int)
|
||||
for _, sku := range skuList {
|
||||
if !jxutils.IsFakeID(sku.JdID) {
|
||||
if !jxutils.IsEmptyID(sku.JdID) {
|
||||
skuInfoList = append(skuInfoList, &jdapi.BaseStockCenterRequest{
|
||||
SkuId: sku.JdID,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user