暂时注释代码

This commit is contained in:
邹宗楠
2022-03-18 11:34:42 +08:00
parent 62eda9a72f
commit 233aa3d0f8
2 changed files with 5 additions and 3 deletions

View File

@@ -175,9 +175,10 @@ func SyncSkus(ctx *jxcontext.Context, parentTask tasksch.ITask, vendorIDs []int,
globals.SugarLogger.Debugf("步骤3============= DeleteSku2:%v", skuVendorInfo.VendorSkuID)
globals.SugarLogger.Debugf("步骤3============= DeleteSku2:%v", !model.IsSyncStatusNew(skuVendorInfo.SkuSyncStatus))
globals.SugarLogger.Debugf("步骤TTTTT============ DeleteSku2:%v", skuVendorInfo.SkuSyncStatus)
if !model.IsSyncStatusNew(skuVendorInfo.SkuSyncStatus) && skuVendorInfo.VendorSkuID == "" {
return nil, err
}
//todo 暂时注释
//if !model.IsSyncStatusNew(skuVendorInfo.SkuSyncStatus) && skuVendorInfo.VendorSkuID == "" {
// return nil, err
//}
globals.SugarLogger.Debugf("步骤4============= DeleteSku2:%v", skuVendorInfo.SkuVendorMapCatID)
if skuVendorInfo.SkuVendorMapCatID != "" {
skuVendorInfo.VendorVendorCatID = utils.Str2Int64(skuVendorInfo.SkuVendorMapCatID)

View File

@@ -154,6 +154,7 @@ type MissingStoreSkuInfo struct {
Unit string
RefPrice int
}
}
type StoreSkuBindWithVendorInfo struct {
model.StoreSkuBind