aa
This commit is contained in:
@@ -3392,7 +3392,12 @@ func CleanStoreIsBoughtMatter(ctx *jxcontext.Context) (err error) {
|
||||
}
|
||||
|
||||
func InsertStoreCategories(ctx *jxcontext.Context, db *dao.DaoDB, storeID int) (err error) {
|
||||
err = dao.InsertStoreCategories(db, ctx.GetUserName(), storeID)
|
||||
if db == nil {
|
||||
db = dao.GetDB()
|
||||
}
|
||||
if err = dao.DeleteStoreCategroies2(db, storeID); err == nil {
|
||||
err = dao.InsertStoreCategories(db, ctx.GetUserName(), storeID)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user