* [story#60673,0.5h] add addWhereGroup.

This commit is contained in:
qixinzhi
2024-09-06 09:06:59 +08:00
committed by 曹延义
parent 23d1b532ff
commit 4a961663f8
2 changed files with 20 additions and 0 deletions
+16
View File
@@ -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.
*
+4
View File
@@ -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 = '请选择函数';