package com.gyee.alarm.service.auto;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gyee.alarm.model.auto.ProBasicDataDictionary;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 数据字典表 服务类
 * </p>
 *
 * @author shilin
 * @since 2023-08-16
 */
public interface IProBasicDataDictionaryService extends IService<ProBasicDataDictionary> {
    List<ProBasicDataDictionary> getAllDatadictionary();

    List<ProBasicDataDictionary> getDatadictionary(String category);

    int saveOrUpdateDatadictionary(ProBasicDataDictionary datadictionary);

    IPage<ProBasicDataDictionary> list (String category,String name, String pageNum, String pageSize);

}
