Bladeren bron

修改代码

fuyu 5 jaren geleden
bovenliggende
commit
6e7b2d34c8
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      application/inter/controller/Reciveremote.php

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

@@ -221,7 +221,7 @@ class Reciveremote extends Base
             $where3 = "(`ra`.`remote_doctor_id`= ? or `ra`.`remote_doctor_id` = '')";
             $where4 = "(`ro`.`status` is null or `ro`.`status` = 2 or `ro`.`status` = 3)";
             $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 = "? ?";
+            $limit = "?, ?";
 
             $where = $where1." and ".$where2." and ".$where3." and ".$where4;
             $sql = "select ".$filed." from ".$table." where ".$where." order by ".$order." limit ".$limit;