package com.artfess.sysConfig.persistence.dao;

import com.artfess.sysConfig.persistence.model.SysCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Map;

public interface SysCategoryDao extends BaseMapper<SysCategory> {
	int isKeyExist(Map<String,Object> params);
	/**
	 * 通过分类key 获取改分类
	 * @param key
	 * @return
	 */
	SysCategory getByKey(String key);
}
