实惠等产品退卡
This commit is contained in:
@@ -45,7 +45,7 @@ class Sql
|
||||
$flag = false;
|
||||
if (is_array($value)) {
|
||||
if (in_array($value[0], $ins)) {
|
||||
$this->filter .= ' `' . $key . '` ' . $value[0] . '(' . implode(',', $value[1]) . ')';
|
||||
$this->filter .= ' `' . $key . '` ' . $value[0] . '(\'' . implode('\',\'', $value[1]) . '\')';
|
||||
} else {
|
||||
$param_key = $this->paramIsExit($key, $this->param);
|
||||
$this->filter .= ' `' . $key . '` ' . $value[0] . ' :' . $param_key;
|
||||
@@ -58,7 +58,7 @@ class Sql
|
||||
} else {
|
||||
if (is_array($value)) {
|
||||
if (in_array($value[0], $ins)) {
|
||||
$this->filter .= ' AND `' . $key . '` ' . $value[0] . '(' . implode(',', $value[1]) . ')';
|
||||
$this->filter .= ' AND `' . $key . '` ' . $value[0] . '(\'' . implode('\',\'', $value[1]) . '\')';
|
||||
} else {
|
||||
$param_key = $this->paramIsExit($key, $this->param);
|
||||
$this->filter .= ' AND `' . $key . '` ' . $value[0] . ' :' . $param_key;
|
||||
|
||||
Reference in New Issue
Block a user