|
@@ -85,9 +85,19 @@ class CostCompany extends BaseController
|
|
|
}
|
|
|
$where3 = array();
|
|
|
if (!empty($param['project_status'])) {
|
|
|
- $where3[] = ['project_status', '=', $param['project_status']];
|
|
|
+ if($param['project_status'] == 100){
|
|
|
+ $where3[] = ['project_status', '=', 0];
|
|
|
+ $where3[] = ['proprietor_status', '=', 0];
|
|
|
+ }else if($param['project_status'] == 101){
|
|
|
+ $where3[] = ['project_status', '=', 0];
|
|
|
+ $where3[] = ['proprietor_status', '=', 1];
|
|
|
+ }else if($param['project_status'] == 102){
|
|
|
+ $where3[] = ['project_status', '=', 0];
|
|
|
+ $where3[] = ['proprietor_status', '=', 2];
|
|
|
+ }else{
|
|
|
+ $where3[] = ['project_status', '=', $param['project_status']];
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
if (!empty($param['province'])) {
|
|
|
$where3[] = ['province', '=', $param['province']];
|
|
|
}
|