ZhuDongming
2020-04-26 dba54bf8c8f9299d61c05bf3a941708ea399c998
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.moral.mapper;
 
import java.util.List;
import java.util.Map;
 
import org.apache.ibatis.annotations.Param;
 
import com.moral.common.mapper.BaseMapper;
import com.moral.entity.Organization;
 
import tk.mybatis.mapper.entity.Example;
 
public interface OrganizationMapper extends BaseMapper<Organization> {
    List<Organization> selectWithAreaNameByExample(Example example);
 
    List<Organization> getOrganizationsByAreaName(Map<String, Object> parameters);
 
    /**
     * 所有下级组织,包括自己id,自己id位置在0
     *
     * @param orgId
     * @return
     */
    List<Integer> selectLowerOrgIds(Integer orgId);
 
    List<Organization> getOrganizationList(@Param("organizationName") String organizationName);
}