package com.fdkankan.scene.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.fdkankan.scene.entity.SceneProExt;
import com.fdkankan.scene.mapper.ISceneProExtMapper;
import com.fdkankan.scene.service.ISceneProExtService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * pro场景表 服务实现类
 * </p>
 *
 * @author dengsixing
 * @since 2021-12-23
 */
@Service
public class SceneProExtServiceImpl extends ServiceImpl<ISceneProExtMapper, SceneProExt> implements ISceneProExtService {


    @Override
    public SceneProExt findBySceneProId(Long sceneProId) {
        return this.getOne(new LambdaQueryWrapper<SceneProExt>().eq(SceneProExt::getSceneProId, sceneProId));
    }
}
