use of com.bc.pmpheep.back.vo.MateriaHistorylVO in project pmph by BCSquad.
the class MaterialExtraController method history.
/**
* <pre>
* 功能描述:查询历史教材通知列表
* 使用示范:
*
* @param pageNumber 当前页数
* @param pageSize 当前页条数
* @param request
* @return
* </pre>
*/
@ResponseBody
@LogDetail(businessType = BUSINESS_TYPE, logRemark = "查询历史教材通知列表")
@RequestMapping(value = "/history", method = RequestMethod.GET)
public ResponseBean history(@RequestParam(name = "pageNumber", defaultValue = "1") Integer pageNumber, @RequestParam(name = "pageSize", defaultValue = "5") Integer pageSize, HttpServletRequest request) {
PageParameter<MateriaHistorylVO> pageParameter = new PageParameter<>(pageNumber, pageSize);
MateriaHistorylVO materiaHistorylVO = new MateriaHistorylVO();
pageParameter.setParameter(materiaHistorylVO);
String sessionId = CookiesUtil.getSessionId(request);
return new ResponseBean(materialExtraService.listMaterialHistory(pageParameter, sessionId));
}
Aggregations