|
@@ -13,12 +13,12 @@ class FinancialManager extends Base{
|
|
|
$this->model=new \app\cxinv\model\FinancialManager();
|
|
|
}
|
|
|
public function List(){
|
|
|
- $param = $this->request->param(["code"=>"","type"=>"","seller_code"=>"","buyer_code"=>"","orderCode"=>"","cxCode"=>"",
|
|
|
+ $param = $this->request->param(["code"=>"","type"=>[],"seller_code"=>"","buyer_code"=>"","orderCode"=>"","cxCode"=>"",
|
|
|
"goodNo"=>"","inv_number"=>"","inv_buyer_code"=>"",'channel'=>[],'status'=>"","manager_status"=>"","start"=>"","end"=>"",
|
|
|
"page"=>1,"size"=>15],"post","trim");
|
|
|
$where=[];
|
|
|
if($param['code']!="") $where[]= ["code","=","%{$param['code']}%"];
|
|
|
- if($param['type']!="") $where[]= ["type","=",$param['type']];
|
|
|
+ if(!empty($param['type'])) $where[]= ["type","in",$param['type']];
|
|
|
if(!empty($param['channel'])) $where[]= ["channel","in",$param['channel']];
|
|
|
if($param['manager_status']!="") $where[]= ["manager_status","=",$param['manager_status']];
|
|
|
if($param['status']!="") $where[]= ["status","=",$param['status']];
|