Selaa lähdekoodia

fix(repository): 修复PickUpRepository中的查询方法

- 将getWhere方法替换为selectWhere方法以正确查询数据
shichen 4 kuukautta sitten
vanhempi
commit
ddbbf8b587
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/common/repositories/store/order/PickUpRepository.php

+ 1 - 1
app/common/repositories/store/order/PickUpRepository.php

@@ -19,6 +19,6 @@ class PickUpRepository extends BaseRepository
19 19
 
20 20
     public function getlist()
21 21
     {
22
-        return $this->dao->getWhere(['status'=>1]);
22
+        return $this->dao->selectWhere(['status'=>1]);
23 23
     }
24 24
 }