|
@ -333,9 +333,10 @@ public class SpecialistController extends WeixinBaseController {
|
|
|
@RequestMapping(value = "/findDoctorAndDoctorHealthBySpecialDoctor", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "获取当前专科医生有关联的家庭医生和健管师列表")
|
|
|
public String findDoctorAndDoctorHealthBySpecialDoctor(
|
|
|
@ApiParam(name = "doctor", value = "专科医生code") @RequestParam(required = true)String doctor){
|
|
|
@ApiParam(name = "doctor", value = "专科医生code") @RequestParam(required = true)String doctor,
|
|
|
@ApiParam(name = "name", value = "家庭医生姓名") @RequestParam(required = false)String name){
|
|
|
try {
|
|
|
return write(200, "获取成功", "data", specialistService.findDoctorAndDoctorHealthBySpecialDoctor(doctor));
|
|
|
return write(200, "获取成功", "data", specialistService.findDoctorAndDoctorHealthBySpecialDoctor(doctor,name));
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
|
return error(-1, "请求失败");
|