kaiyu
2020-09-30 3bf4a89e8470abf09ca61db5a5e8e8e84f45455b
src/main/java/com/moral/mapper/RoleMapper.java
@@ -2,16 +2,13 @@
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 insertSelective(Role role);
    List<Role> getRoleList(Example example);
    int updateByPrimaryKeySelective(Role role);
    List<Role> getRoleList(@Param("roleName") String roleName);
}