|
@ -378,8 +378,8 @@ public class SpecialistService{
|
|
|
|
|
|
public MixEnvelop<PatientRelationVO, PatientRelationVO> getDoctorPatientByNameOrIdCard(String doctor, String filter,String teamCode, Integer page, Integer size){
|
|
|
String sql ="SELECT " +
|
|
|
" p.code AS code,r.patient_name as patientName " +
|
|
|
// " p.`name` AS name, " +
|
|
|
" p.code AS code,p.code patient,r.patient_name as patientName, " +
|
|
|
" p.name AS name " +
|
|
|
" ,p.photo, " +
|
|
|
" IFNULL(year( from_days( datediff( now(), p.birthday))),'未知') age, " +
|
|
|
" p.sex ," +
|