Commit 7d7190d8 authored by wwccw0591's avatar wwccw0591

pc

parent e09c9756
......@@ -64,7 +64,7 @@ class OrderGoodsModel extends \DAO\AbstractModel {
}
public function getOrderGoodsCountByStoreId($storeId){
$this->setDb($this->dbName);
$where['storeId']=$storeId;
$where['store_id']=$storeId;
$goodsCount = $this->db->select($this->orderGoodsGoodsNumCountField)->from($this->_tableName)->where($where)->fetchNum();
return $goodsCount;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment