This commit is contained in:
suyl
2021-10-08 15:26:03 +08:00
parent 41dd6e9799
commit 850ab91a78

View File

@@ -370,14 +370,14 @@ func getStoresSql(ctx *jxcontext.Context, keyword string, params map[string]inte
jdPhone := params["jdPhone"].(string)
sqlWhere += " AND t1.operator_phone = ?"
if jdPhone == "0" {
jdPhone = "''"
jdPhone = ""
}
sqlWhereParams = append(sqlWhereParams, jdPhone)
}
if params["mtPhone"] != nil {
mtPhone := params["mtPhone"].(string)
if mtPhone == "0" {
mtPhone = "''"
mtPhone = ""
}
sqlWhere += " AND t1.operator_phone2 = ?"
sqlWhereParams = append(sqlWhereParams, mtPhone)
@@ -385,7 +385,7 @@ func getStoresSql(ctx *jxcontext.Context, keyword string, params map[string]inte
if params["ebaiPhone"] != nil {
ebaiPhone := params["ebaiPhone"].(string)
if ebaiPhone == "0" {
ebaiPhone = "''"
ebaiPhone = ""
}
sqlWhere += " AND t1.operator_phone3 = ?"
sqlWhereParams = append(sqlWhereParams, ebaiPhone)