package com.sckw.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.system.model.SysDict;
import com.sckw.system.model.SysDictType;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;

/**
 * 字典类型
 * @author zk
 * @date 2023-05-30
 */
@Mapper
public interface SysDictTypeDao extends BaseMapper<SysDictType> {

    /**
     * 新增
     * @param record
     * @return
     */
    int insert(SysDictType record);

    /**
     * 更新
     * @param record
     * @return
     */
    int update(SysDictType record);

    /**
     * 查询
     * @param params
     * @return
     */
    List<SysDictType> findPage(Map<String, Object> params);

    /**
     * @param sysDictType 实体类
     * @return
     * @desc: TODO
     * @author: czh
     * @date: 2023/7/6
     */
    List<SysDictType> select(SysDictType sysDictType);

}
