“linengliang”
2023-10-10 fbd45b5367da79ca5001fe7aba53b3220b5e1384
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
}