|
|
@@ -52,10 +52,12 @@ class SupplyDemandLists extends BaseApiDataLists implements ListsSearchInterface
|
|
|
*/
|
|
|
public function queryWhere()
|
|
|
{
|
|
|
- $where[] = ['status', '=', 2];
|
|
|
+
|
|
|
// $where[] = ['expiration_time', '>=', time()];
|
|
|
if (!empty($this->params['flag'])) {
|
|
|
$where[] = ['user_id', '=', $this->userId];
|
|
|
+ }else{
|
|
|
+ $where[] = ['status', '=', 2];
|
|
|
}
|
|
|
//
|
|
|
// if (!empty($this->params['area_id'])) {
|