diff --git a/app/controller/Task.php b/app/controller/Task.php index 2e914c3..cc52b93 100644 --- a/app/controller/Task.php +++ b/app/controller/Task.php @@ -182,6 +182,9 @@ class Task extends BaseController $where[] = ['is_export_bhx', '>', 0]; $where[] = ['is_update_bhx', '>', 0]; $where[] = ['is_export_bmc', '=', 0]; + if($params['update_no'] > 0){ + $where[] = ['is_update_bhx', '=', $params['update_no']]; + } } if ($params['export_type'] == 'failed') { $where[] = ['is_export_bhx', '>', 0]; @@ -508,6 +511,9 @@ class Task extends BaseController $where[] = ['is_export_bhx', '>', 0]; $where[] = ['is_update_bhx', '>', 0]; $where[] = ['is_export_bmc', '=', 0]; + if($params['update_no'] > 0){ + $where[] = ['is_update_bhx', '=', $params['update_no']]; + } } if ($params['export_type'] == 'failed') { $where[] = ['is_export_bhx', '>', 0]; diff --git a/app/view/task/index.html b/app/view/task/index.html index 88706ac..227cb0a 100644 --- a/app/view/task/index.html +++ b/app/view/task/index.html @@ -66,6 +66,12 @@ --> +