Commit b1f3bcee authored by zw's avatar zw

看铺数量

parent a57deb7a
......@@ -43,7 +43,7 @@ class LookShop extends Basic
$condition = [];
if (!empty($params["start_time"]) && !empty($params["end_time"])) {
$condition["a.look_time"] = array( "between", array( $params["start_time"], $params["end_time"] ) );
$condition["a.look_time"] = array( "between", array( $params["start_time"], $params["end_time"] . " 23:59:59" ) );
}
if (!empty($params["house_id"])) {
$condition["a.house_id"] = $params["house_id"];
......@@ -64,10 +64,10 @@ class LookShop extends Basic
$field = "a.id,a.look_time,a.house_id,b.internal_title,a.agent_name,a.agent_phone";
$result = $this->tLookShopModel->getList($condition, $field, $pageNo, $pageSize);
$total = $this->tLookShopModel->getListCount($condition, $field);
//$total = $this->tLookShopModel->getListCount($condition, $field);
$list["list"] = $result;
$list["total"] = $total;
$list["total"] = 0;
return $this->response("200", "success", $list);
}
......
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