- fix ebai create category bug
This commit is contained in:
@@ -117,7 +117,7 @@ func (p *PurchaseHandler) createCatByStoreSkus(ctx *jxcontext.Context, parentTas
|
||||
catList2Add := make(map[int]int)
|
||||
for _, storeSku := range storeSkuInfoList {
|
||||
if storeSku.EbaiSyncStatus&(model.SyncFlagNewMask|model.SyncFlagModifiedMask) != 0 {
|
||||
if storeSku.ParentCatEbaiID == 0 && catList2Add[storeSku.ParentCatID] != 0 {
|
||||
if storeSku.ParentCatEbaiID == 0 && storeSku.ParentCatID != 0 {
|
||||
catList2Add[storeSku.ParentCatID] = 1
|
||||
}
|
||||
if storeSku.CatEbaiID == 0 {
|
||||
|
||||
Reference in New Issue
Block a user