package com.jeeplus.test.proofread.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jeeplus.core.domain.TreeMapper;
import com.jeeplus.test.proofread.domain.ProofreadType;
import org.apache.ibatis.annotations.Param;

public interface ProofreadTypeMapper extends BaseMapper<ProofreadType>, TreeMapper<ProofreadType> {

    Integer checkNameIsExist(@Param("parentId")String parentId, @Param("name") String name, @Param("type")String type);

    Integer getNo(@Param("parentId") String parentId, @Param("type")String type);

    Integer getLevel(@Param("parentId") String parentId, @Param("type")String type);
}
