package com.fdkankan.scene.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.fdkankan.scene.entity.ScenePlusExt;
import com.fdkankan.scene.mapper.IScenePlusExtMapper;
import com.fdkankan.scene.service.IScenePlusExtService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 
 * @since 2022-03-16
 */
@Service
public class ScenePlusExtServiceImpl extends ServiceImpl<IScenePlusExtMapper, ScenePlusExt> implements IScenePlusExtService {

    @Override
    public ScenePlusExt getScenePlusExtByPlusId(long plusId) {
        return this.getOne(new LambdaQueryWrapper<ScenePlusExt>().eq(ScenePlusExt::getPlusId, plusId));
    }
}
