Skip to content

Commit 12a9742

Browse files
committed
update子查询传递的集合深度调整
1 parent 9228982 commit 12a9742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/ApiJson/Handle/AbstractHandle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected function unsetKeySaveCondition()
4545
protected function subTableQuery(array $data): QueryInterface
4646
{
4747
$tableName = $data['from'];
48-
$tableEntity = new TableEntity($tableName, $data[$data['from']]);
48+
$tableEntity = new TableEntity($tableName, $data);
4949
$handle = new Handle($tableEntity->getConditionEntity(), $tableEntity);
5050
$handle->build();
5151
/** @var QueryInterface $query */

0 commit comments

Comments
 (0)