aa
This commit is contained in:
@@ -380,6 +380,18 @@ func getStoresSql(ctx *jxcontext.Context, keyword string, params map[string]inte
|
||||
sqlWhere += " AND t1.market_man_phone = ?"
|
||||
sqlWhereParams = append(sqlWhereParams, params["marketManPhone"].(string))
|
||||
}
|
||||
if params["jdPhone"] != nil {
|
||||
sqlWhere += " AND t1.operator_phone = ?"
|
||||
sqlWhereParams = append(sqlWhereParams, params["jdPhone"].(string))
|
||||
}
|
||||
if params["mtPhone"] != nil {
|
||||
sqlWhere += " AND t1.operator_phone2 = ?"
|
||||
sqlWhereParams = append(sqlWhereParams, params["mtPhone"].(string))
|
||||
}
|
||||
if params["ebaiPhone"] != nil {
|
||||
sqlWhere += " AND t1.operator_phone3 = ?"
|
||||
sqlWhereParams = append(sqlWhereParams, params["ebaiPhone"].(string))
|
||||
}
|
||||
if params["tel"] != nil {
|
||||
sqlWhere += " AND (t1.tel1 LIKE ? OR t1.tel2 LIKE ?)"
|
||||
sqlWhereParams = append(sqlWhereParams, "%"+params["tel"].(string)+"%")
|
||||
|
||||
Reference in New Issue
Block a user