This commit is contained in:
suyl
2021-09-01 09:08:36 +08:00
parent 261391b3ca
commit 11513a7415

View File

@@ -400,7 +400,7 @@ func getStoresSql(ctx *jxcontext.Context, keyword string, params map[string]inte
if params["earningType"] != nil {
if params["earningType"].(int) != 0 {
if params["earningType"].(int) == 1 {
sqlWhere += " AND t1.pay_percentage = 100"
sqlWhere += " AND t1.pay_percentage >= 50"
} else {
sqlWhere += " AND t1.pay_percentage < 50"
}