StoreChangePriceTypeBossDisabled

This commit is contained in:
gazebo
2019-10-31 17:44:15 +08:00
parent dca0740098
commit 31b7fe33e8
2 changed files with 5 additions and 3 deletions

View File

@@ -83,9 +83,10 @@ func GetStoreList4Mobile(db *dao.DaoDB, mobileList []string) (storeList []*model
sql := `
SELECT t1.*
FROM store t1
WHERE t1.deleted_at = ?`
WHERE t1.deleted_at = ? /*AND t1.change_price_type = ?*/`
sqlParams := []interface{}{
utils.DefaultTimeValue,
// model.StoreChangePriceTypeBossDisabled,
}
if len(mobileList) > 0 {
questionMarks := dao.GenQuestionMarks(len(mobileList))

View File

@@ -43,8 +43,9 @@ const (
)
const (
StoreChangePriceTypeDirect = 0
StoreChangePriceTypeNeedApprove = 1
StoreChangePriceTypeDirect = 0
StoreChangePriceTypeNeedApprove = 1
StoreChangePriceTypeBossDisabled = 2
)
var (