@RequestMapping(value = "/getQueryPage", method = RequestMethod.POST)
public BaseResponse<PageResponse<List<BatchInfoDto>>> getQueryPage(@RequestBody QueryBatchInfoByCondition req,HttpServletRequest request) {
try {
String enterpriseId = request.getSession().getAttribute("enterpriseId").toString();
req.setEnterpriseId(Integer.valueOf(enterpriseId));
BaseResponse<PageResponse<List<BatchInfoDto>>> queryByConditionPage = issuePageService
.queryByConditionPage(req);
return queryByConditionPage;
} catch (Exception e) {
System.out.println("查询列表页:" + e.getLocalizedMessage());
//e.printStackTrace();
return null;
}
}
获取页面session值
最新推荐文章于 2022-08-15 11:56:32 发布