diff --git a/lib/pivotstate/pivotstate.class.php b/lib/pivotstate/pivotstate.class.php index 26e48b4968..8ad1461345 100644 --- a/lib/pivotstate/pivotstate.class.php +++ b/lib/pivotstate/pivotstate.class.php @@ -605,6 +605,22 @@ class pivotState $this->sqlBuilder['funcs'][] = $func; } + /** + * Add where group. + * + * @param string|array $type + * @param string $table + * @param string $field + * @param string $function + * @param string $alias + * @access public + * @return void + */ + public function addWhereGroup($items = array()) + { + $this->sqlBuilder['wheres'][] = $items; + } + /** * Get funcs. * diff --git a/module/bi/lang/zh-cn.php b/module/bi/lang/zh-cn.php index 60d4f1d656..439efa1595 100644 --- a/module/bi/lang/zh-cn.php +++ b/module/bi/lang/zh-cn.php @@ -106,6 +106,10 @@ $lang->bi->queryFilterFormHeader['default'] = '默认值'; $lang->bi->emptyError = '不能为空'; $lang->bi->duplicateError = '存在重复'; +$lang->bi->whereGroupTitle = '第%s组确定性查询条件'; +$lang->bi->addWhereGroup = '添加组'; +$lang->bi->removeWhereGroup = '删除组'; + $lang->bi->selectTableTip = '请选择数据表'; $lang->bi->selectFieldTip = '请选择字段'; $lang->bi->selectFuncTip = '请选择函数';