|
@@ -50,12 +50,17 @@ abstract class AbstractDataExportHandle
|
|
|
public function getExportData()
|
|
|
{
|
|
|
$result = [];
|
|
|
- foreach ($this->query($this->query_params) as $item) {
|
|
|
+ \Log::info('getExportData_start_query:'.json_encode($this->query_params));
|
|
|
+ $items = $this->query($this->query_params);
|
|
|
+ \Log::info('getExportData_count:'.count($items));
|
|
|
+ foreach ($items as $key=>$item) {
|
|
|
+ \Log::info('getExportData:i:'.$key);
|
|
|
$value = $this->setItemData($item);
|
|
|
if ($value) {
|
|
|
$result[] = $value;
|
|
|
}
|
|
|
}
|
|
|
+ \Log::info('getExportData_end_query:'.json_encode($this->query_params));
|
|
|
return $result;
|
|
|
}
|
|
|
|