package com.artfess.yhxt.tree.manager;

import com.artfess.yhxt.tree.model.TreeDictionary;
import com.artfess.base.manager.BaseManager;

/**
 * 树形字典表 服务类
 *
 * @company 阿特菲斯信息技术有限公司
 * @author 超级管理员
 * @since 2021-08-04
 */
public interface TreeDictionaryManager extends BaseManager<TreeDictionary> {

    /**
     * 检查编码是否重复
     * @param treeDictionary
     */
    void checkNumber(TreeDictionary treeDictionary);

    /**
     * 获取下一排序号
     * @return
     */
    Integer getSn();
}
