- 修改商家分类,SKU,SKUNAME时,将门店分类,商品相应的同步标志位正确设置
This commit is contained in:
@@ -58,6 +58,12 @@ func (*StoreSkuCategoryMap) TableUnique() [][]string {
|
||||
}
|
||||
}
|
||||
|
||||
func (*StoreSkuCategoryMap) TableIndex() [][]string {
|
||||
return [][]string{
|
||||
[]string{"CategoryID", "StoreID", "DeletedAt"},
|
||||
}
|
||||
}
|
||||
|
||||
type StoreSkuBind struct {
|
||||
ModelIDCULD
|
||||
|
||||
@@ -88,6 +94,12 @@ func (*StoreSkuBind) TableUnique() [][]string {
|
||||
}
|
||||
}
|
||||
|
||||
func (*StoreSkuBind) TableIndex() [][]string {
|
||||
return [][]string{
|
||||
[]string{"SkuID", "StoreID", "DeletedAt"},
|
||||
}
|
||||
}
|
||||
|
||||
type StoreOpRequest struct {
|
||||
ModelIDCULD // DeletedAt用于表示请求操作结束,而并不一定是删除
|
||||
|
||||
|
||||
Reference in New Issue
Block a user