Explorar el Código

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

- 将getWhere方法替换为selectWhere方法以正确查询数据
shichen hace 4 meses
padre
commit
ddbbf8b587
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
     public function getlist()
20
     public function getlist()
21
     {
21
     {
22
-        return $this->dao->getWhere(['status'=>1]);
22
+        return $this->dao->selectWhere(['status'=>1]);
23
     }
23
     }
24
 }
24
 }