Commit 29215cda authored by zhuwei's avatar zhuwei

1

parent 46633bff
...@@ -86,17 +86,12 @@ class Amercement extends Basic ...@@ -86,17 +86,12 @@ class Amercement extends Basic
*/ */
public function getAmercementListExcel(){ public function getAmercementListExcel(){
$params = $this->params; $params = $this->params;
$result = $this->s_amercement->getAmercementListExcel($params);//int(1)
$page_no = empty($params["page_no"]) ? 1 : $params["page_no"];
$page_size = empty($params["page_size"]) ? 15 : $params["page_size"];
$result = $this->s_amercement->getAmercementListExcel($params,$page_no, $page_size);//int(1)
if ($result) { if ($result) {
return $this->response("200", "成功",$result); return $this->response("200", "成功",$result);
} else { } else {
return $this->response("101", "失败"); return $this->response("101", "失败");
} }
} }
/** /**
......
...@@ -421,11 +421,9 @@ class AmercementService ...@@ -421,11 +421,9 @@ class AmercementService
/** /**
* 后台罚款账单表 导出excel * 后台罚款账单表 导出excel
* @param $params * @param $params
* @param $page_no
* @param $page_size
* @return string * @return string
*/ */
public function getAmercementListExcel($params,$page_no, $page_size) public function getAmercementListExcel($params)
{ {
$conditions=$this->buildConditions($params); $conditions=$this->buildConditions($params);
$field = "id,status,type,money,submit_agent_id,agent_id,remarks,create_time,forfeit_penalty"; $field = "id,status,type,money,submit_agent_id,agent_id,remarks,create_time,forfeit_penalty";
......
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