|
@ -56,6 +56,25 @@ public class DoctorTeamGuidanceController extends WeixinBaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获取医生所属的所有团队
|
|
|
*
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping(value = "/findDoctorLeaderTeam", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
@ApiOperation("获取团队长所属的团队长团队")
|
|
|
public String findDoctorLeaderTeam(@RequestParam(required = false, defaultValue = "") @ApiParam(value = "搜索关键字") String filter) {
|
|
|
try {
|
|
|
String doctorCode = getUID();
|
|
|
List teamList = doctorTeamGuidanceService.findDoctorLeaderTeam(doctorCode,filter);
|
|
|
return write(200, "获取医生所属团队成功!", "teamList", teamList);
|
|
|
} catch (Exception e) {
|
|
|
return invalidUserException(e, -1, e.getMessage());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 根据医生所属的单个团队获取团队模板列表
|
|
|
*
|
|
@ -124,7 +143,7 @@ public class DoctorTeamGuidanceController extends WeixinBaseController {
|
|
|
@ApiParam(value = "图片路径")
|
|
|
@RequestParam(required = false) String images,
|
|
|
@ApiParam(value = "指导标签")
|
|
|
@RequestParam(required = false) String labelCode
|
|
|
@RequestParam(required = false,defaultValue = "") String labelCode
|
|
|
) {
|
|
|
try {
|
|
|
// 前端参数校验
|