소스 검색

议价驳回原因改为数组

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

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

@@ -1442,7 +1442,8 @@ class Consult extends Base
                     ->field('id,remark,status')
                     ->where(['infoNo' => $infoNo, 'bidsNo' => $value['bidNo']])
                     ->whereIn('status', [5, 6])
-                    ->find();
+                    ->findOrEmpty()
+                    ->toArray();
             }
             $data[] = $value;
         }