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<Unit> {
|
public List<Unit> getListByUnitCategoryId(String unitCategoryId);
|
public List<Unit> getTreeList();
|
/**
|
* 通过单位名称查询单位信息
|
* @param name
|
* @return
|
*/
|
public Unit getUnitByName(@Param("name") String name);
|
}
|