|
@ -1169,11 +1169,16 @@ public class DoctorPatientGroupController extends BaseController {
|
|
|
// //健管查询
|
|
|
// doctors = drHealthTeamService.findTeamDoctorsByPatient(patient);
|
|
|
// }
|
|
|
Map<String,String> map = new HashMap<>();
|
|
|
if (doctors != null && doctors.size() > 0) {
|
|
|
for (Doctor doctor : doctors) {
|
|
|
if (doctor == null) {
|
|
|
continue;
|
|
|
}
|
|
|
if(map.containsKey(doctor.getCode())){//去重
|
|
|
continue;
|
|
|
}
|
|
|
map.put(doctor.getCode(),doctor.getCode());
|
|
|
JSONObject json = new JSONObject();
|
|
|
json.put("code", doctor.getCode());
|
|
|
json.put("name", doctor.getName());
|
|
@ -1208,6 +1213,10 @@ public class DoctorPatientGroupController extends BaseController {
|
|
|
if (doctor == null) {
|
|
|
continue;
|
|
|
}
|
|
|
if(map.containsKey(doctor.getCode())){
|
|
|
continue;
|
|
|
}
|
|
|
map.put(doctor.getCode(),doctor.getCode());
|
|
|
JSONObject json = new JSONObject();
|
|
|
json.put("code", doctor.getCode());
|
|
|
json.put("name", doctor.getName());
|