aa
This commit is contained in:
@@ -53,8 +53,8 @@ func syncCategories(ctx *jxcontext.Context, db *dao.DaoDB, parentTask tasksch.IT
|
|||||||
}
|
}
|
||||||
//表示是不用京西分类,要用平台分类
|
//表示是不用京西分类,要用平台分类
|
||||||
if catVendorInfo.IsJxCat == model.YES {
|
if catVendorInfo.IsJxCat == model.YES {
|
||||||
catVendorInfo.Seq = catVendorInfo.VendorCategorySeq
|
if catVendorInfo.VendorCategoryID != 0 {
|
||||||
if catVendorInfo.VendorCategoryName != "" {
|
catVendorInfo.Seq = catVendorInfo.VendorCategorySeq
|
||||||
catVendorInfo.Name = catVendorInfo.VendorCategoryName
|
catVendorInfo.Name = catVendorInfo.VendorCategoryName
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ type SkuStoreCatInfo struct {
|
|||||||
|
|
||||||
VendorCategoryName string
|
VendorCategoryName string
|
||||||
VendorCategorySeq int
|
VendorCategorySeq int
|
||||||
|
VendorCategoryID int `orm:"column(vendor_category_id)"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type StoreSkuSyncInfo struct {
|
type StoreSkuSyncInfo struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user