package com.haha.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.haha.entity.DictData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 字典数据项Mapper接口
 */
@Mapper
public interface DictDataMapper extends BaseMapper<DictData> {

    List<DictData> selectByDictCode(@Param("dictCode") String dictCode);

    int deleteByDictCode(@Param("dictCode") String dictCode);
}
