|
@ -267,6 +267,19 @@ public class SpecialistController extends WeixinBaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/findPatientSignSpecialistInfo", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "获取居民与当前专科医生有效签约信息")
|
|
|
public String findPatientSignSpecialistInfo(@ApiParam(name = "patient", value = "居民code") @RequestParam(required = true)String patient,
|
|
|
@ApiParam(name = "doctor", value = "专科医生code") @RequestParam(required = true)String doctor) {
|
|
|
try {
|
|
|
return write(200, "获取成功", "data", specialistService.findPatientSignSpecialistInfo(patient,doctor));
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
|
return error(-1, "请求失败");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/findMessagePatientCount", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "获取等待专科医生处理消息人数")
|
|
|
public String findMessagePatientCount(String doctor) {
|
|
@ -278,5 +291,15 @@ public class SpecialistController extends WeixinBaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/findPatientDiseaseServerList", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "获取居民专病服务信息")
|
|
|
public String findPatientDiseaseServerList(@ApiParam(name = "patient", value = "患者code") @RequestParam(required = true)String patient) {
|
|
|
try {
|
|
|
return write(200, "获取成功", "data", specialistService.findPatientDiseaseServerList(patient));
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
|
return error(-1, "请求失败");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}
|
|
|
}
|