Sfoglia il codice sorgente

议价驳回原因改为数组

wufeng 2 anni fa
parent
commit
54ae9e2e6a
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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;
         }