/**
 * Copyright &copy; 2021-2026 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jeeplus.sys.domain.DictValue;
import com.jeeplus.sys.service.dto.DictValueDTO;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * 数据字典MAPPER接口
 *
 * @author lgf
 * @version 2021-01-16
 */
public interface DictValueMapper extends BaseMapper <DictValue> {
    List<DictValue> getByName(@Param("dictName") String dictName);

    void updateDictValue(@Param("label")String label, @Param("value")String value);

    String getRealTimeDictValue(@Param("label")String label);


}
