|
@ -1149,6 +1149,13 @@ public class DoctorController extends BaseController {
|
|
|
json.put("id", doctor.getId());
|
|
|
json.put("hospital", doctor.getHospital());
|
|
|
json.put("hosptialName", doctor.getHosptialName());
|
|
|
|
|
|
JSONObject iswork = workTimeService.isDoctorWorking(doctor.getCode());
|
|
|
if (iswork.getString("status").equals("1")) {
|
|
|
json.put("isworking", 1);
|
|
|
} else {
|
|
|
json.put("isworking", 0);
|
|
|
}
|
|
|
}
|
|
|
return write(200, "查询成功!", "doctor", json);
|
|
|
} catch (Exception ex) {
|