我正在尝试将查找用于具有字段 = 名称和字段“编号”不在数组 $importedVolumes 列表中的列表。
$importedVolumes = array('22','38');
Volumes::find('list', array(
"fields"=>"name",
"conditions"=>array("number"=>
array("NOT IN"=>$importedVolumes)
),
"order"=>"number ASC"
));
上面给出了一个空数组。