1.内核更新

2.规则从菜单中批量导入bug修复
This commit is contained in:
2016-09-02 15:02:37 +08:00
parent 7381ce5ce7
commit acd3e6fa25
8 changed files with 42 additions and 19 deletions

View File

@@ -1980,6 +1980,9 @@ class Query
$model = $this->model;
$data = new $model($data);
$data->isUpdate(true, isset($options['where']['AND']) ? $options['where']['AND'] : null);
if ($this->allowField) {
$data->allowField($this->allowField);
}
// 关联查询
if (!empty($options['relation'])) {
$data->relationQuery($options['relation']);