StoreRefundStatusDao.php 402 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace app\common\dao\store\order;
  3. use app\common\dao\BaseDao;
  4. use app\common\model\store\order\StoreRefundStatus;
  5. class StoreRefundStatusDao extends BaseDao
  6. {
  7. protected function getModel(): string
  8. {
  9. return StoreRefundStatus::class;
  10. }
  11. public function search($id)
  12. {
  13. return $query = StoreRefundStatus::getDB()->where('refund_order_id', $id);
  14. }
  15. }