|
@@ -1367,11 +1367,12 @@ class Database
|
|
} elseif (strpos($v, '|')) {
|
|
} elseif (strpos($v, '|')) {
|
|
# 有无值或者自定义的值
|
|
# 有无值或者自定义的值
|
|
$temp = explode('|', $v);
|
|
$temp = explode('|', $v);
|
|
- $param['option'][$k] = array('yes', '=', 'and(');
|
|
|
|
$param['option_' . $k] = $temp[1];
|
|
$param['option_' . $k] = $temp[1];
|
|
if ($temp[0] == 'yes') {
|
|
if ($temp[0] == 'yes') {
|
|
- $param['option'][$k . '_t1'] = array('yes-' . $k, '!=', 'or)');
|
|
|
|
|
|
+ $param['option'][$k] = array('yes', '!=');
|
|
|
|
+ $param['option'][$k . '_t1'] = array('yes-' . $k, '!=');
|
|
} else {
|
|
} else {
|
|
|
|
+ $param['option'][$k] = array('yes', '=', 'and(');
|
|
$param['option'][$k . '_t1'] = array('yes-' . $k, '=', 'or)');
|
|
$param['option'][$k . '_t1'] = array('yes-' . $k, '=', 'or)');
|
|
}
|
|
}
|
|
$param['option_' . $k . '_t1'] = 'null';
|
|
$param['option_' . $k . '_t1'] = 'null';
|