diff --git a/app/contract/controller/Index.php b/app/contract/controller/Index.php index 1100fcb..df593d2 100644 --- a/app/contract/controller/Index.php +++ b/app/contract/controller/Index.php @@ -33,7 +33,7 @@ class Index extends BaseController if (!empty($param['type'])) { $where[] = ['a.type', '=', $param['type']]; } - if (!empty($param['check_status'])) { + if (isset($param['check_status']) && $param['check_status']!='') { $where[] = ['a.check_status', '=', $param['check_status']]; } $where[] = ['a.delete_time', '=', 0]; diff --git a/app/contract/view/index/index.html b/app/contract/view/index/index.html index fd3bafb..27a5074 100644 --- a/app/contract/view/index/index.html +++ b/app/contract/view/index/index.html @@ -21,13 +21,15 @@