1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- namespace app\dao\order;
- use app\dao\BaseDao;
- use app\model\order\OtherOrderStatus;
- class OtherOrderStatusDao extends BaseDao
- {
-
- protected function setModel(): string
- {
- return OtherOrderStatus::class;
- }
-
- public function getStatusList(array $where, int $page, int $limit)
- {
- return $this->search($where)->when($page && $limit, function ($query) use ($page, $limit) {
- $query->page($page, $limit);
- })->select()->toArray();
- }
- }
|