| | |
| | | |
| | | @Override |
| | | public List<InformationPlatform> getInformationPlatforms(Long companyId) { |
| | | if (companyId == null) { |
| | | companyId = SecurityUtils.getCompanyId(); |
| | | } |
| | | |
| | | LambdaQueryWrapper<InformationPlatform> queryWrapper = new LambdaQueryWrapper<>(); |
| | | queryWrapper.eq(InformationPlatform::getCompanyId, companyId); |
| | | if (companyId != null){ |
| | | queryWrapper.eq(InformationPlatform::getCompanyId, companyId); |
| | | } |
| | | queryWrapper.eq(InformationPlatform::getDelFlag, UserConstant.ENABLE); |
| | | queryWrapper.orderByDesc(InformationPlatform::getCreateTime); |
| | | |