| 
					
				 | 
			
			
				@@ -258,19 +258,15 @@ public class SysDeptController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @PostMapping("/listSysDeptPost") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public ResponseResult<MyPageData<SysPostVo>> listSysDeptPost( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            @MyRequestBody(required = true) Long deptId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            @MyRequestBody SysPostDto sysPostDtoFilter, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            @MyRequestBody MyOrderParam orderParam, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            @MyRequestBody MyPageParam pageParam) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (!sysDeptService.existId(deptId)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @RequestBody SysPostDto sysPostDtoFilter) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (!sysDeptService.existId(sysPostDtoFilter.getDeptId())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return ResponseResult.error(ErrorCodeEnum.INVALID_RELATED_RECORD_ID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (pageParam != null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            PageMethod.startPage(pageParam.getPageNum(), pageParam.getPageSize()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (sysPostDtoFilter.getPageNum() != null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            PageMethod.startPage(sysPostDtoFilter.getPageNum(), sysPostDtoFilter.getPageSize()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         SysPost filter = MyModelUtil.copyTo(sysPostDtoFilter, SysPost.class); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        String orderBy = MyOrderParam.buildOrderBy(orderParam, SysPost.class); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        List<SysPost> sysPostList = sysPostService.getSysPostListByDeptId(deptId, filter, orderBy); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        List<SysPost> sysPostList = sysPostService.getSysPostListByDeptId(sysPostDtoFilter.getDeptId(), filter, null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return ResponseResult.success(MyPageUtil.makeResponseData(sysPostList, SysPost.INSTANCE)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |