package com.fdkankan.ucenter.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.fdkankan.common.constant.TbStatus;
import com.fdkankan.ucenter.entity.SceneEditControls;
import com.fdkankan.ucenter.mapper.ISceneEditControlsMapper;
import com.fdkankan.ucenter.service.ISceneEditControlsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 
 * @since 2022-07-12
 */
@Service
public class SceneEditControlsServiceImpl extends ServiceImpl<ISceneEditControlsMapper, SceneEditControls> implements ISceneEditControlsService {

    @Override
    public SceneEditControls getBySceneEditId(Long sceneEditInfoId) {
        return this.getOne(new LambdaQueryWrapper<SceneEditControls>()
                .eq(SceneEditControls::getEditInfoId, sceneEditInfoId));
    }
}
