This commit is contained in:
苏尹岚
2021-01-19 14:21:20 +08:00
parent bb2fab1ef3
commit c2417f70aa
4 changed files with 40 additions and 1 deletions

View File

@@ -826,6 +826,17 @@ func DeleteStoreCategroies(db *DaoDB, userName string, storeID int) (err error)
return err
}
func DeleteStoreCategroies2(db *DaoDB, storeID int) (err error) {
sql := `
DELETE FROM store_category_map WHERE store_id = ?
`
sqlParams := []interface{}{
storeID,
}
_, err = ExecuteSQL(db, sql, sqlParams)
return err
}
func GetStorePushClient(db *DaoDB, storeID int, cID string) (storePushClient []*model.StorePushClient, err error) {
sql := `
SELECT *