fuyu 6 lat temu
rodzic
commit
fa27bf3467
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      application/inter/controller/Reciveremote.php

+ 1 - 1
application/inter/controller/Reciveremote.php

@@ -223,7 +223,7 @@ class Reciveremote extends Base
             $order = "(ra.is_urgent = '1' and ra.report_status = '4') desc, (ra.is_urgent = '1' and ra.report_status = '6') desc, (ra.is_urgent = '1' and ra.report_status = '7'), ra.req_date_time desc";
             $limit = ":start :number";
 
-            $where = $where1.$where2.$where3.$where4;
+            $where = $where1." and ".$where2." and ".$where3." and ".$where4;
             $sql = "select ".$filed." from ".$table." where ".$where." order by ".$order." limit ".$limit;
             $options = [
                 "remote_institution_id" => $remote_institution_id,