소스 검색

'取消转单'状态下的数据过滤掉

wufeng 2 년 전
부모
커밋
fef19eb830
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      app/abutment/controller/Consult.php
  2. 1 1
      app/admin/controller/Consult.php

+ 1 - 1
app/abutment/controller/Consult.php

@@ -492,7 +492,7 @@ class Consult extends BaseController
         $this->post = $this->request->filter('trim')->post();
         $page = isset($this->post['page']) && $this->post['page'] !== "" ? intval($this->post['page']) : "1";
         $size = isset($this->post['size']) && $this->post['size'] !== "" ? intval($this->post['size']) : "10";
-        $where = [['cb.is_del', "=", 0], ['c.status', '<>', 5]];
+        $where = [['cb.is_del', "=", 0], ['c.status', '<>', 6]];//不要'取消转单'状态下的数据
         $zxNo = isset($this->post['zxNo']) && $this->post['zxNo'] !== "" ? trim($this->post['zxNo']) : "";
         if ($zxNo !== "") {
             $where[] = ['cb.zxNo', 'like', '%' . $zxNo . '%'];

+ 1 - 1
app/admin/controller/Consult.php

@@ -2207,7 +2207,7 @@ class Consult extends Base
     {
         $page = isset($this->post['page']) && $this->post['page'] !== "" ? intval($this->post['page']) : "1";
         $size = isset($this->post['size']) && $this->post['size'] !== "" ? intval($this->post['size']) : "10";
-        $where = [['cb.is_del', "=", 0],['c.status','<>',5]];
+        $where = [['cb.is_del', "=", 0],['c.status','<>',6]];//不要'取消转单'状态下的数据
         $zxNo = isset($this->post['zxNo']) && $this->post['zxNo'] !== "" ? trim($this->post['zxNo']) : "";
         if ($zxNo !== "") {
             $where[] = ['cb.zxNo', 'like', '%' . $zxNo . '%'];