|
@ -1,5 +1,6 @@
|
|
package com.yihu.wlyy.web.third.specialist;
|
|
package com.yihu.wlyy.web.third.specialist;
|
|
|
|
|
|
|
|
import com.yihu.wlyy.service.app.sign.SignFamilyServiceService;
|
|
import com.yihu.wlyy.service.specialist.SpecialistService;
|
|
import com.yihu.wlyy.service.specialist.SpecialistService;
|
|
import com.yihu.wlyy.web.BaseController;
|
|
import com.yihu.wlyy.web.BaseController;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
@ -22,6 +23,8 @@ public class ThirdSpecialistController extends BaseController{
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private SpecialistService specialistService;
|
|
private SpecialistService specialistService;
|
|
|
|
@Autowired
|
|
|
|
private SignFamilyServiceService signFamilyServiceService;
|
|
|
|
|
|
@RequestMapping(value = "/findSpecialistTeamInfo", method = RequestMethod.GET)
|
|
@RequestMapping(value = "/findSpecialistTeamInfo", method = RequestMethod.GET)
|
|
@ApiOperation(value = "获取专科医生所在团队信息")
|
|
@ApiOperation(value = "获取专科医生所在团队信息")
|
|
@ -45,4 +48,15 @@ public class ThirdSpecialistController extends BaseController{
|
|
return error(-1, "请求失败");
|
|
return error(-1, "请求失败");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@RequestMapping(value = "/getPatientSignInfo", method = RequestMethod.GET)
|
|
|
|
@ApiOperation(value = "获取团队专病服务信息")
|
|
|
|
public String getPatientSignInfo(@ApiParam(name = "patient", value = "居民CODE") @RequestParam(required = true)String patient) {
|
|
|
|
try {
|
|
|
|
return write(200, "获取成功", "data", signFamilyServiceService.getSignFamilyByPatient(patient));
|
|
|
|
} catch (Exception e) {
|
|
|
|
error(e);
|
|
|
|
return error(-1, "请求失败");
|
|
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|