wuggemail@foxmail.com 3 月之前
父节点
当前提交
bdeeb59575
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/cxinv/controller/FinancialManager.php

+ 2 - 2
app/cxinv/controller/FinancialManager.php

@@ -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'])];