|
@ -41,10 +41,7 @@ import org.springframework.jdbc.core.JdbcTemplate;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.*;
|
|
|
|
|
|
/**
|
|
|
* Created by Trick on 2018/5/31.
|
|
@ -862,5 +859,24 @@ public class SpecialistService extends BaseService {
|
|
|
}
|
|
|
throw new Exception("请求获取居民信息失败!");
|
|
|
}
|
|
|
|
|
|
public List<Map<String,Object>> findPatientSignFamily(String patient) throws Exception {
|
|
|
SignFamily signFamily = signFamilyDao.findSignFamilyByPatient(patient);
|
|
|
List<Map<String,Object>> resultList = new ArrayList<>();
|
|
|
if(signFamily!=null){
|
|
|
|
|
|
Map<String,Object> map = new HashMap<>();
|
|
|
map.put("doctorName",signFamily.getDoctorHealthName());
|
|
|
map.put("doctorCode",signFamily.getDoctorHealth());
|
|
|
map.put("doctorType","健管师");
|
|
|
resultList.add(map);
|
|
|
map = new HashMap<>();
|
|
|
map.put("doctorName",signFamily.getDoctorName());
|
|
|
map.put("doctorCode",signFamily.getDoctor());
|
|
|
map.put("doctorType","全科医生");
|
|
|
resultList.add(map);
|
|
|
}
|
|
|
return resultList;
|
|
|
}
|
|
|
}
|
|
|
|