diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index 61c8af71f..cb8ee20da 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -213,7 +213,7 @@ func Init() { ScheduleTimerFunc("UpdateTaoSkuUpdateOffShelf", func() { orderman.UpdateTaoSkuUpdateOffShelf() }, []string{ - "09:52:00", + "10:15:00", }) // 每分钟轮询一次,推送骑手信息 diff --git a/business/model/dao/store_sku.go b/business/model/dao/store_sku.go index ea30673b9..0b88fb038 100644 --- a/business/model/dao/store_sku.go +++ b/business/model/dao/store_sku.go @@ -1699,7 +1699,7 @@ func GetDeletedStoreSkuBind(db *DaoDB, storeID, skuID int) (storeSkuBind *model. func GetStoreSkuBindList(db *DaoDB, storeId int64) []string { storeSkuBind := make([]*model.StoreSkuBind, 0, 0) - sql := `SELECT * FROM store_sku_bind WHERE store_id = ` + fmt.Sprintf("%d", storeId) + `AND status = 1 ` + sql := `SELECT * FROM store_sku_bind WHERE store_id = ` + fmt.Sprintf("%d", storeId) + ` AND status = 1 ` GetRows(db, &storeSkuBind, sql) data := make([]string, 0)