Commit 5e320861 authored by zw's avatar zw

注释sql输出

parent a935f411
...@@ -375,6 +375,9 @@ class OrderLogService ...@@ -375,6 +375,9 @@ class OrderLogService
* 获取我得成交报告详情 * 获取我得成交报告详情
* @param $params * @param $params
* @return false|\PDOStatement|string|\think\Collection * @return false|\PDOStatement|string|\think\Collection
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/ */
public function getBargainDetail($params) public function getBargainDetail($params)
{ {
......
...@@ -138,7 +138,7 @@ class OBargainModel extends Model ...@@ -138,7 +138,7 @@ class OBargainModel extends Model
->limit($pageSize) ->limit($pageSize)
->page($pageNo) ->page($pageNo)
->select(); ->select();
echo $this->db_->getLastSql(); //echo $this->db_->getLastSql();
return $result; return $result;
} }
...@@ -167,7 +167,7 @@ class OBargainModel extends Model ...@@ -167,7 +167,7 @@ class OBargainModel extends Model
->whereOr($whereOr_) ->whereOr($whereOr_)
->order("a.id asc") ->order("a.id asc")
->select(); ->select();
echo $this->getLastSql(); // echo $this->getLastSql();
return $result; return $result;
} }
......
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