改名
This commit is contained in:
@@ -381,7 +381,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, \ArrayAccess
|
|||||||
$trance->commit();
|
$trance->commit();
|
||||||
$this->setAttributes($param);
|
$this->setAttributes($param);
|
||||||
$this->afterSave($attributes, $param);
|
$this->afterSave($attributes, $param);
|
||||||
$this->refresh();
|
$lastId = $this->refresh();
|
||||||
} catch (\Throwable $exception) {
|
} catch (\Throwable $exception) {
|
||||||
$lastId = false;
|
$lastId = false;
|
||||||
$trance->rollback();
|
$trance->rollback();
|
||||||
|
|||||||
Reference in New Issue
Block a user