ZhuDongming
2019-11-20 f32e22e52376cabe49e8c7d1f52adb4b1aebffd3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.moral.mapper;
 
import java.util.List;
 
import org.apache.ibatis.annotations.Param;
 
import com.moral.common.mapper.BaseMapper;
import com.moral.entity.Role;
 
import tk.mybatis.mapper.entity.Example;
 
public interface RoleMapper extends BaseMapper<Role> {
 
    int updateByPrimaryKey(Role role);
 
    List<Role> getRoleListByName(@Param("roleName") String roleName);
 
    List<Role> getRoleList(Example example);
 
}