|
|
@ -182,6 +182,9 @@ class Task extends BaseController |
|
|
|
$where[] = ['is_export_bhx', '>', 0]; |
|
|
|
$where[] = ['is_export_bhx', '>', 0]; |
|
|
|
$where[] = ['is_update_bhx', '>', 0]; |
|
|
|
$where[] = ['is_update_bhx', '>', 0]; |
|
|
|
$where[] = ['is_export_bmc', '=', 0]; |
|
|
|
$where[] = ['is_export_bmc', '=', 0]; |
|
|
|
|
|
|
|
if($params['update_no'] > 0){ |
|
|
|
|
|
|
|
$where[] = ['is_update_bhx', '=', $params['update_no']]; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if ($params['export_type'] == 'failed') { |
|
|
|
if ($params['export_type'] == 'failed') { |
|
|
|
$where[] = ['is_export_bhx', '>', 0]; |
|
|
|
$where[] = ['is_export_bhx', '>', 0]; |
|
|
@ -508,6 +511,9 @@ class Task extends BaseController |
|
|
|
$where[] = ['is_export_bhx', '>', 0]; |
|
|
|
$where[] = ['is_export_bhx', '>', 0]; |
|
|
|
$where[] = ['is_update_bhx', '>', 0]; |
|
|
|
$where[] = ['is_update_bhx', '>', 0]; |
|
|
|
$where[] = ['is_export_bmc', '=', 0]; |
|
|
|
$where[] = ['is_export_bmc', '=', 0]; |
|
|
|
|
|
|
|
if($params['update_no'] > 0){ |
|
|
|
|
|
|
|
$where[] = ['is_update_bhx', '=', $params['update_no']]; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if ($params['export_type'] == 'failed') { |
|
|
|
if ($params['export_type'] == 'failed') { |
|
|
|
$where[] = ['is_export_bhx', '>', 0]; |
|
|
|
$where[] = ['is_export_bhx', '>', 0]; |
|
|
|