package com.fdkankan.ucenter.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.fdkankan.ucenter.entity.SceneProRe;
import com.fdkankan.ucenter.mapper.ISceneProReMapper;
import com.fdkankan.ucenter.service.ISceneProReService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * pro场景表 服务实现类
 * </p>
 *
 * @author 
 * @since 2022-11-15
 */
@Service
public class SceneProReServiceImpl extends ServiceImpl<ISceneProReMapper, SceneProRe> implements ISceneProReService {

    @Override
    public List<SceneProRe> getV4Num() {
        LambdaQueryWrapper<SceneProRe> wrapper = new LambdaQueryWrapper<>();
        wrapper.eq(SceneProRe::getIsUpgrade,1);
        return this.list(wrapper);
    }
}
