1.条件查询
LambdaQueryWrapper<AdChannel> queryWrapper = new LambdaQueryWrapper(); queryWrapper.eq(AdChannel::getName, adChannel.getName()); AdChannel dBAdChannel = getOne(queryWrapper);