|
@@ -14,12 +14,12 @@ class FinancialManager extends Base{
|
|
|
}
|
|
|
public function List(){
|
|
|
$param = $this->request->param(["code"=>"","type"=>"","seller_code"=>"","buyer_code"=>"","orderCode"=>"","cxCode"=>"",
|
|
|
- "goodNo"=>"","inv_number"=>"","inv_buyer_code"=>"",'channel'=>"",'status'=>"","manager_status"=>"","start"=>"","end"=>"",
|
|
|
+ "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($param['channel']!="") $where[]= ["channel","=",$param['channel']];
|
|
|
+ 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']];
|
|
|
if($param['start']!="") $where[]= ["create_time",">=",startTime($param['start'])];
|