| | |
| | | Assert.notNull(pageSize, "pageSize 不能为空"); |
| | | Page<TransactionEvent> pageParam = new Page<>(pageNum,pageSize); |
| | | List<TransactionEvent> list; |
| | | int num; |
| | | if (departmentId!=null){ |
| | | List<String> ids=iOrganizationChartService.getDepartmentId(departmentId); |
| | | list = iTransactionEventService.selectConfigList(pageParam,pageSize,keyword, |
| | | classifyGrade,ids); |
| | | num=iTransactionEventService.countNum(keyword,classifyGrade,ids); |
| | | |
| | | }else { |
| | | list = iTransactionEventService.selectConfigList(pageParam,pageSize,keyword, |
| | | classifyGrade,null); |
| | | num=iTransactionEventService.countNum(keyword,classifyGrade,null); |
| | | } |
| | | int num=iTransactionEventService.countNum(keyword,classifyGrade,null); |
| | | return getDataTable(list,num); |
| | | } |
| | | |