Yii 查询 find 条件不等于null or 不能等空
$postware = Postware::find()->select(['house_num'])->where(['account_id' => $account_id, 'send_way' => 4])->andFilterWhere(['OR',['not', 'house_num=""'], ['NOT', ['house_num' => null]]])->orderBy(['id' => SORT_DESC])->limit(1)->asArray()->one();
$returnOrder = ReturnOrder::find()->select(['id', 'waybill'])->where(['state'=>10])->andWhere(['OR',['IS','weight',new yiidbExpression('NULL')],['weight'=>0]])->asArray()->all();