ZhuDongming
2019-10-18 a73c63037e6a5276ce6442873afc627e8cb2c9b0
src/main/java/com/moral/mapper/RoleMapper.java
@@ -7,11 +7,14 @@
import com.moral.common.mapper.BaseMapper;
import com.moral.entity.Role;
import tk.mybatis.mapper.entity.Example;
public interface RoleMapper extends BaseMapper<Role> {
    int insertSelective(Role role);
    int updateByPrimaryKey(Role role);
    int updateByPrimaryKeySelective(Role role);
    List<Role> getRoleListByName(@Param("roleName") String roleName);
    List<Role> getRoleList(@Param("roleName") String roleName);
    List<Role> getRoleList(Example example);
}