This commit is contained in:
苏尹岚
2021-01-06 09:46:54 +08:00
parent 756b39711d
commit 5753470c8b
4 changed files with 10 additions and 4 deletions

View File

@@ -3775,8 +3775,8 @@ func GetDiffJxStoreAndMTWMStoreInfo(ctx *jxcontext.Context, storeIDs []int) (err
return err
}
func GetBrands(ctx *jxcontext.Context, name string) (brands []*model.Brand, err error) {
return dao.GetBrands(dao.GetDB(), name)
func GetBrands(ctx *jxcontext.Context, name string, brandID int) (brands []*model.Brand, err error) {
return dao.GetBrands(dao.GetDB(), name, brandID)
}
func AddBrand(ctx *jxcontext.Context, brand *model.Brand) (err error) {