|
|
@@ -334,6 +334,8 @@ class BaseExport extends Component {
|
|
|
$query = (new Query())->from(['Q' => $queryAll])->select('Q.*')->distinct()->orderBy(['CREATED_AT' => SORT_DESC]);
|
|
|
$lists = $query->all();
|
|
|
|
|
|
+ LoggerTool::debug(['ryan' => 1]);
|
|
|
+
|
|
|
if(!empty($lists)){
|
|
|
$regionConfig = Cache::getRegionConfig();
|
|
|
foreach($lists as $columnData) {
|
|
|
@@ -380,6 +382,7 @@ class BaseExport extends Component {
|
|
|
'AUTO_MAINTENANCE' => $columnData['AUTO_MAINTENANCE'] == 1 ? 'Yes' : 'No',
|
|
|
];
|
|
|
|
|
|
+ LoggerTool::debug(['ryan' => $columnAccept]);
|
|
|
fputcsv($this->_fp, Tool::arrTextConvert($columnAccept));
|
|
|
unset($percent, $columnData, $columnAccept);
|
|
|
}
|