package com.keyware.shandan.bianmu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.keyware.shandan.bianmu.entity.LabelEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author GuoXin
 * @date 2023-01-11
 */
@Mapper
public interface LabelEntityMapper extends BaseMapper<LabelEntity> {

    @Select("SELECT * FROM B_DATA_LABEL_ENTITY WHERE ENTITY_ID = #{entityId}")
    List<LabelEntity> selectByEntityId(String entityId);
}
