浏览代码

Merge branch 'master' of https://code.istudy.wang/root/qii

zjh 9 小时之前
父节点
当前提交
6e98f0ac0e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Driver/Entity/Base.php

+ 1 - 0
src/Driver/Entity/Base.php

@@ -914,6 +914,7 @@ class Base {
             return $this;
             return $this;
         }
         }
         foreach ($values as $key => $value) {
         foreach ($values as $key => $value) {
+            $key = $this->entity()->convertToField($key);
             $property = $this->entity()->convertToProperty($key);
             $property = $this->entity()->convertToProperty($key);
             if($this->hasProperty($key)) {
             if($this->hasProperty($key)) {
                 if(is_array($value)) {
                 if(is_array($value)) {