|
@ -174,7 +174,7 @@ namespace {yourApp}\models; |
|
|
use yii\db\ActiveQuery; |
|
|
use yii\db\ActiveQuery; |
|
|
use yii\db\Expression; |
|
|
use yii\db\Expression; |
|
|
|
|
|
|
|
|
class GoodQuery extends ActiveQuery |
|
|
|
|
|
|
|
|
class MyModelQuery extends ActiveQuery |
|
|
{ |
|
|
{ |
|
|
/** |
|
|
/** |
|
|
* [ |
|
|
* [ |
|
@ -189,7 +189,7 @@ class GoodQuery extends ActiveQuery |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @param string[] $queryParams |
|
|
* @param string[] $queryParams |
|
|
* @return GoodQuery |
|
|
|
|
|
|
|
|
* @return MyModelQuery |
|
|
*/ |
|
|
*/ |
|
|
public function andWhereStatus($queryParams = []) |
|
|
public function andWhereStatus($queryParams = []) |
|
|
{ |
|
|
{ |
|
@ -198,7 +198,7 @@ class GoodQuery extends ActiveQuery |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @param string[] $queryParams |
|
|
* @param string[] $queryParams |
|
|
* @return GoodQuery |
|
|
|
|
|
|
|
|
* @return MyModelQuery |
|
|
*/ |
|
|
*/ |
|
|
public function orWhereStatus($queryParams = []) |
|
|
public function orWhereStatus($queryParams = []) |
|
|
{ |
|
|
{ |
|
|