就是这样:
Copy the images as if text:
<br />
<br />X<canvas height="50" width="50"></canvas><span class="canvas_alt">alt text</span>Y
<br />
<br />Try pasting it here, is should be 'XiiY':
<br />
<input />
在$this->loadModel('IntAdmin');
$test = $this->IntAdmin->find('list', [
'contain' => ['Sales', 'Accounts'],
'conditions' => [
'IntAdmin.status' => 'submitted',
'IntAdmin.id IN' => [$picking_lists['picking_list']]
]
]);
pr($test);
exit;
中,这就是我所拥有的:
$picking_lists
这是Array
(
[picking_list] => Array
(
[0] => 10
[1] => 11
)
)
结果:
pr()
我在这里找不到问题,但查询返回空结果。请帮忙。
请询问您是否需要更多信息。
由于
答案 0 :(得分:0)
使用toArray打印结果
$this->loadModel('IntAdmin');
$test = $this->IntAdmin->find('list', [
'contain' => ['Sales', 'Accounts'],
'conditions' => [
'IntAdmin.status' => 'submitted',
'IntAdmin.id IN' => [$picking_lists['picking_list']]
]
]);
pr($test->toArray());
exit;