$list = $Appointment->query('select * from ytghsys_'.Session::get('choosehospital').'appointment where (patient,telephone,hospital_id) in (select patient,telephone,hospital_id from ytghsys_'.Session::get('choosehospital').'appointment group by patient,telephone,hospital_id having count(*) > 1) and addtime >= '.strtotime("-2 month").' order by patient limit 2');
L)0}WS%(HL6[6UB5IZI_WVP.jpg
( 215.34 KB 下载:4 次 )