package org.jeecg.modules.base.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; import org.jeecg.modules.base.entity.Unit; import java.util.List; public interface UnitMapper extends BaseMapper { public List getListByUnitCategoryId(String unitCategoryId); public List getTreeList(); /** * 通过单位名称查询单位信息 * @param name * @return */ public Unit getUnitByName(@Param("name") String name); }