|
@ -1420,14 +1420,14 @@ public class DoctorController extends BaseController {
|
|
|
* 转换团队中的健康管理师
|
|
|
* @param newDoctorCode 新的健康管理师的code
|
|
|
* @param oldDoctorCode 旧的健康管理师的code
|
|
|
* @param patient 患者code
|
|
|
* @param patients 患者code 多个逗号分隔
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/updateTeamHealthDoctor")
|
|
|
@RequestMapping(value = "/updateTeamHealthDoctors")
|
|
|
@ResponseBody
|
|
|
public String updateTeamHealthDoctor(String newDoctorCode,String oldDoctorCode,String patient) {
|
|
|
public String updateTeamHealthDoctors(String newDoctorCode,String oldDoctorCode,String patients) {
|
|
|
try {
|
|
|
doctorInfoService.updateTeamHealthDoctor(newDoctorCode,oldDoctorCode,patient);
|
|
|
doctorInfoService.updateTeamHealthDoctors(newDoctorCode,oldDoctorCode,patients);
|
|
|
return write(200, "更新成功");
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|