| | |
| | | |
| | | @Override |
| | | public IPage<AttachVO> selectAttachPage(IPage<AttachVO> page, AttachVO attach) { |
| | | Integer resultType = attach.getResultType(); |
| | | // Integer resultType = attach.getResultType(); |
| | | List<AttachVO> attachVOS = Collections.emptyList(); |
| | | if (Objects.nonNull(resultType) && Attach.RESULT_TYPE_AI.equals(resultType)) { |
| | | attachVOS = baseMapper.selectEventAttachPage(page, attach); |
| | | } else { |
| | | // if (Objects.nonNull(resultType) && Attach.RESULT_TYPE_AI.equals(resultType)) { |
| | | // attachVOS = baseMapper.selectEventAttachPage(page, attach); |
| | | // } else { |
| | | attachVOS = baseMapper.selectAttachPage(page, attach); |
| | | } |
| | | // } |
| | | |
| | | return page.setRecords(attachVOS); |
| | | } |