- 修改商家分类,SKU,SKUNAME时,将门店分类,商品相应的同步标志位正确设置

This commit is contained in:
gazebo
2019-05-06 21:11:23 +08:00
parent d9bfa5d645
commit 66b1f77ad3
4 changed files with 182 additions and 16 deletions

View File

@@ -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用于表示请求操作结束而并不一定是删除