更新细节
This commit is contained in:
parent
63f823700d
commit
93c12a803e
@ -45,11 +45,7 @@ class ProcurementContractLists extends BaseAdminDataLists implements ListsSearch
|
||||
public function querySearch(): array
|
||||
{
|
||||
$queryWhere = [];
|
||||
if (!empty($this->params['contract_cate'])) {
|
||||
$queryWhere['contract_cate'] = $this->params['contract_cate'];
|
||||
} else {
|
||||
$queryWhere['contract_cate'] = 2;
|
||||
}
|
||||
$queryWhere['contract_cate'] = 1;
|
||||
if (!empty($this->params['all'])) {
|
||||
unset($queryWhere['contract_cate']);
|
||||
}
|
||||
|
@ -47,10 +47,10 @@ class SubcontractingContractLists extends BaseAdminDataLists implements ListsSea
|
||||
public function querySearch(): array
|
||||
{
|
||||
$queryWhere = [];
|
||||
if (!empty($this->params['contract_cate'])) {
|
||||
$queryWhere['contract_cate'] = $this->params['contract_cate'];
|
||||
}
|
||||
$queryWhere['contract_cate'] = 2;
|
||||
if (!empty($this->params['all'])) {
|
||||
unset($queryWhere['contract_cate']);
|
||||
}
|
||||
return $queryWhere;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user