|
@ -181,6 +181,25 @@ public class DoctorMessageController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 续方
|
|
|
*/
|
|
|
@RequestMapping(value = "getPrescriptionMessage", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
@ApiOperation("获取续方消息")
|
|
|
public String getPrescriptionMessage(@ApiParam(value = "第几页", defaultValue = "1")
|
|
|
@RequestParam Integer page,
|
|
|
@ApiParam(value = "每页几行", defaultValue = "10")
|
|
|
@RequestParam Integer pagesize) {
|
|
|
try {
|
|
|
List<Message> list = messageService.getPrescriptionMessage(getUID(), page, pagesize);
|
|
|
return write(200, "获取消息成功!", "list", list);
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
|
return error(-1, "获取消息失败!");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "getHealthIndexMessage", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
@ApiOperation("获取超标指标消息--根据患者分组")
|