Commit 25163c3e authored by liuyuzhen's avatar liuyuzhen

测试购物车

parent a3b0e81d
...@@ -256,6 +256,8 @@ class GoodsCommonModel extends \DAO\AbstractModel { ...@@ -256,6 +256,8 @@ class GoodsCommonModel extends \DAO\AbstractModel {
$updateAllSql .= $saleNumSql; $updateAllSql .= $saleNumSql;
} }
$updateAllSql .= \Our\Common::format(' where goods_commonid in ({0})',implode(',',$dataIds)); $updateAllSql .= \Our\Common::format(' where goods_commonid in ({0})',implode(',',$dataIds));
\Our\Log::getInstance()->write($updateAllSql);
$one = $this->db->update($this->_tableName)->query($updateAllSql); $one = $this->db->update($this->_tableName)->query($updateAllSql);
if (!$one) { if (!$one) {
......
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