Commit 4d97f9a8 authored by liuyuzhen's avatar liuyuzhen

Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into lyz

parents 3ea9f180 68c0a290
......@@ -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