Commit 8d996af4 authored by zhz's avatar zhz

membercenter

parent 75c69ffb
......@@ -57,7 +57,7 @@ class OrderModel extends \DAO\AbstractModel
{
$this->setDb();
if (!$isArray) {
$str = '$count = $this->db->from($this->_tableName)->where(delete_state = 0)';
$str = '$count = $this->db->from($this->_tableName)->where("delete_state = 0")';
foreach ($where as $v) {
$str .= "->where('$v')";
}
......
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