فهرست منبع

远程医院列表修改

fuyu 5 سال پیش
والد
کامیت
705625abc5
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      application/inter/controller/Application.php

+ 3 - 3
application/inter/controller/Application.php

@@ -82,13 +82,13 @@ class Application extends Base
                 $super_hospitals = array();
                 $super_doctors = DB::table("remote_contact")
                 ->alias("rc1")
-                ->join('remote_cost rc2', 'r1.hospital_id = rc2.hospital_id and rc1.super_hospital_id = rc2.super_hospital_id')
+                ->join('remote_cost rc2', 'rc1.hospital_id = rc2.hospital_id and rc1.super_hospital_id = rc2.super_hospital_id')
                 ->where('rc1.hospital_id', $institution_id)
                 ->where('rc2.exam_class', $info['exam_class'])
                 ->field('rc1.hospital_id, rc1.super_hospital_id, rc1.hospital_name, rc1.super_hospital_name, rc1.pay_type, rc2.super_doctor_id, rc2.super_doctor_name, rc2.exam_class')
-                ->fetchSql()
+                // ->fetchSql()
                 ->select();
-                var_dump($super_doctors);
+                // var_dump($super_doctors);
                 foreach($super_doctors as $v) {
                     if(!isset($super_hospitals[$v['hospital_id']])){
                         $super_hospitals[$v['hospital_id']] = [