|
@@ -51,10 +51,13 @@ public class ExportStructureController {
|
|
|
|
|
|
@ApiOperation(value = "分页查询导出结构", notes = "分页查询导出结构")
|
|
|
@PostMapping(value = "/findPageByExportStructure/{curPage}/{pageSize}")
|
|
|
- public ResponseEntity findPageByExportStructure(@PathVariable int curPage,
|
|
|
+ public ResponseEntity findPageByExportStructure(HttpServletRequest request,
|
|
|
+ @PathVariable int curPage,
|
|
|
@PathVariable int pageSize,
|
|
|
@RequestBody ExportStructure exportStructure){
|
|
|
try{
|
|
|
+ AccessUser user = (AccessUser) request.getAttribute("accessUser");
|
|
|
+ exportStructure.setOrgId(user.getRootOrgId()+"");
|
|
|
Page<ExportStructure> pageExportStructure = exportStructureService.findPageByExportStructure(exportStructure, curPage, pageSize);
|
|
|
return new ResponseEntity(pageExportStructure,HttpStatus.OK);
|
|
|
}catch(Exception e){
|