123
This commit is contained in:
@@ -68,9 +68,6 @@ type StoreDetail struct {
|
||||
BrandIsOpen int `json:"brandIsOpen"`
|
||||
BrandIsPrint int `json:"brandIsPrint"`
|
||||
}
|
||||
type BrandID struct {
|
||||
BrandID int `orm:"column(brand_id)" json:"brandID"`
|
||||
}
|
||||
|
||||
// 带快递门店信息的
|
||||
type StoreDetail2 struct {
|
||||
@@ -1489,13 +1486,3 @@ func InsertBrandCategories(db *DaoDB, userName string, brandID int) (err error)
|
||||
_, err = ExecuteSQL(db, sql, sqlParams)
|
||||
return err
|
||||
}
|
||||
func GetStoreBrandID(db *DaoDB, storeID int) (brandID int, err error) {
|
||||
sql := `
|
||||
SELECT *
|
||||
FROM store
|
||||
WHERE store_id = ?
|
||||
`
|
||||
sqlparams := []interface{}{utils.DefaultTimeValue, storeID}
|
||||
err = GetRows(db, &brandID, sql, sqlparams)
|
||||
return brandID, err
|
||||
}
|
||||
|
||||
@@ -815,7 +815,6 @@ func (*StoreAudit) TableIndex() [][]string {
|
||||
type Brand struct {
|
||||
ModelIDCULD
|
||||
|
||||
ID int `json:"Brand_id"`
|
||||
Name string `orm:"size(255)" json:"name"` //品牌名
|
||||
Logo string `orm:"size(255)" json:"logo"` //品牌logo
|
||||
BrandType int `json:"brandType"` //品牌类型
|
||||
@@ -916,7 +915,6 @@ type StoreAcct struct {
|
||||
|
||||
StoreID int `orm:"column(store_id)" json:"storeID"` //门店ID
|
||||
AccountBalance int `json:"accountBalance"` //账户余额
|
||||
BrandID int `orm:"column(brand_id)" json:"brandID"`
|
||||
}
|
||||
|
||||
func (v *StoreAcct) TableUnique() [][]string {
|
||||
|
||||
Reference in New Issue
Block a user