public IPage<ActivityManagement> queryListPage(Page<ActivityManagement> page, ActivityManagementVo activityManagementVo) {
QueryWrapper<ActivityManagement> queryWrapper = new QueryWrapper<>();
**if(StringUtils.isNotEmpty(activityManagementVo.getTheme())) {
queryWrapper.like("theme", activityManagementVo.getTheme());
}
if(activityManagementVo.getReleaseTimeStart() != null) {
queryWrapper.between("release_time", activityManagementVo.getReleaseTimeStart(), activityManagementVo.getReleaseTimeEnd());
}
IPage<ActivityManagement> iPage = this.baseMapper.selectPage(page, queryWrapper);**
return iPage;
}
代码分类查询数据
最新推荐文章于 2023-11-12 17:56:25 发布