This commit is contained in:
邹宗楠
2022-06-04 13:46:14 +08:00
parent bb6e475341
commit 9a0ca2d996
3 changed files with 3 additions and 1 deletions

View File

@@ -160,6 +160,7 @@ func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID in
SecondaryCategoryName: subCatName,
Sequence: storeCat.Seq,
}
globals.SugarLogger.Debug("=====================chuangjian",param4Update)
err = getAPI(storeCat.VendorOrgCode, storeID, vendorStoreID).RetailCatUpdate(vendorStoreID, catName, param4Update)
if storeCat.CatSyncStatus&model.SyncFlagNewMask == 0 && p.IsErrCategoryNotExist(err) && originName != "" { // 修改分类名,但分类不存在
storeCat.CatSyncStatus |= model.SyncFlagNewMask