|
@ -156,14 +156,14 @@ public class DoctorEndpoint extends EnvelopRestEndpoint {
|
|
|
|
|
|
@GetMapping(value = "getTeacherChildrenCount")
|
|
|
@ApiOperation(value = "教师通讯录-我的儿童数量获取")
|
|
|
public Object getTeacherChildrenCount(
|
|
|
public ObjEnvelop getTeacherChildrenCount(
|
|
|
@ApiParam(name = "doctor", value = "doctor")
|
|
|
@RequestParam(value = "doctor",required = true) String doctor){
|
|
|
try {
|
|
|
return doctorService.getTeacherChildrenCount(doctor);
|
|
|
return ObjEnvelop.getSuccess("查询成功",doctorService.getTeacherChildrenCount(doctor));
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
return PageEnvelop.getError("查询失败");
|
|
|
return ObjEnvelop.getError("查询失败");
|
|
|
}
|
|
|
}
|
|
|
}
|