|
@ -475,11 +475,11 @@ public class DoctorController extends BaseController {
|
|
|
int page,
|
|
|
int pagesize) {
|
|
|
try {
|
|
|
JSONArray array = new JSONArray();
|
|
|
com.alibaba.fastjson.JSONArray array = new com.alibaba.fastjson.JSONArray();
|
|
|
List<Doctor> list = doctorInfoService.findFamousDoctorList(key, type, page, pagesize, level);
|
|
|
if (list != null) {
|
|
|
for (Doctor doctor : list) {
|
|
|
JSONObject json = new JSONObject();
|
|
|
com.alibaba.fastjson.JSONObject json = new com.alibaba.fastjson.JSONObject();
|
|
|
json.put("id", doctor.getId());
|
|
|
json.put("code", doctor.getCode());
|
|
|
json.put("name", doctor.getName());
|
|
@ -503,7 +503,7 @@ public class DoctorController extends BaseController {
|
|
|
json.put("deptName", doctor.getDeptName());
|
|
|
json.put("expertise", doctor.getExpertise());
|
|
|
json.put("isworking", 1);
|
|
|
array.put(json);
|
|
|
array.add(json);
|
|
|
}
|
|
|
}
|
|
|
return write(200, "获取名医列表成功!", "list", array);
|