Stream-Query Stream-Query
首页
  • 项目初衷与诞生
  • 介绍
  • 快速上手
  • 目录结构
  • core模块

    • Opp
    • Sf
    • Map
    • Steam
    • TreeHelper
    • HighlightHelper
    • ReflectHelper
    • BeanHelper
  • plugin模块

    • Database
    • One
    • Many
    • OneToOne
    • OneToMany
  • 安装

    • 通过Maven安装
    • 通过Gradle安装
    • 下载jar安装
    • 通过源码编译
  • 动态mapper

    • 指定package
    • 指定注解
    • 指定接口
    • 指定实体类
  • 团队成员
  • dromara
  • 社区周边
  • 成为开发成员
  • 项目问题

    • 最新版本依赖下载失败
    • 项目编译报错
    • 如何贡献代码
    • 如何贡献文档
    • 使用本项目需要的前置知识
  • 其他问题

    • 作者是在全职维护开源吗
    • 你们这是个什么团队啊
    • 和其他类似的开源项目有什么区别
赞助
  • 1-5-0-alpha
  • 1-6-0-alpha
  • 1-7-0-alpha
  • 1-8-0
  • 1-9-0
  • 1-9-1
  • 2.0.0-alpha+001
  • 2.0.0-alpha+002
  • 2.0.2
Source (opens new window)
首页
  • 项目初衷与诞生
  • 介绍
  • 快速上手
  • 目录结构
  • core模块

    • Opp
    • Sf
    • Map
    • Steam
    • TreeHelper
    • HighlightHelper
    • ReflectHelper
    • BeanHelper
  • plugin模块

    • Database
    • One
    • Many
    • OneToOne
    • OneToMany
  • 安装

    • 通过Maven安装
    • 通过Gradle安装
    • 下载jar安装
    • 通过源码编译
  • 动态mapper

    • 指定package
    • 指定注解
    • 指定接口
    • 指定实体类
  • 团队成员
  • dromara
  • 社区周边
  • 成为开发成员
  • 项目问题

    • 最新版本依赖下载失败
    • 项目编译报错
    • 如何贡献代码
    • 如何贡献文档
    • 使用本项目需要的前置知识
  • 其他问题

    • 作者是在全职维护开源吗
    • 你们这是个什么团队啊
    • 和其他类似的开源项目有什么区别
赞助
  • 1-5-0-alpha
  • 1-6-0-alpha
  • 1-7-0-alpha
  • 1-8-0
  • 1-9-0
  • 1-9-1
  • 2.0.0-alpha+001
  • 2.0.0-alpha+002
  • 2.0.2
Source (opens new window)
  • 指南

    • 快速上手
      • 安装
        • 核心依赖(可单独作为工具包使用)
      • 完全摆脱Mapper的[mybatis-plus]
        • 动态Mapper
        • @EnableMybatisPlusPlugin
    • 模块介绍
    • 项目初衷与诞生
  • core

    • Opp
    • Sf
    • TreeHelper
    • LighHight
    • LambdaHelper
    • Steam
    • Maps
    • ReflectHelper
    • BeanHelper
  • plugin

    • DataBase
    • One
    • Many
    • OneToOne
    • OneToMany
    • QueryCondition
    • safe-mode
  • 配置

目录

快速上手

版本查看 ->Maven Central (opens new window) 历史版本 (opens new window)

# 安装

# 核心依赖(可单独作为工具包使用)

    <!-- https://search.maven.org/artifact/org.dromara.stream-query/stream-query -->
    <dependency>
        <groupId>org.dromara.stream-query</groupId>
        <artifactId>stream-core</artifactId>
        <version>${stream-query-version}</version>
    </dependency>
    

    仓库地址: https://gitee.com/dromara/stream-query (opens new window)

    // https://search.maven.org/artifact/org.dromara.stream-query/stream-query
    implementation group: 'org.dromara.stream-query', name: 'stream-core', version: '版本号在上面'
    

    仓库地址: https://gitee.com/dromara/stream-query (opens new window)

    // Make sure to add code blocks to your code group

    注意

    Java请使用1.8版本,后续会支持JDK17

    # 完全摆脱Mapper的[mybatis-plus]

      <!-- https://search.maven.org/artifact/org.dromara.stream-query/stream-query -->
      <dependency>
          <groupId>org.dromara.stream-query</groupId>
          <artifactId>stream-plugin-mybatis-plus</artifactId>
          <version>${stream-query-version}</version>
      </dependency>
      

      仓库地址: https://gitee.com/dromara/stream-query (opens new window)

      // https://search.maven.org/artifact/org.dromara.stream-query/stream-query
      implementation group: 'org.dromara.stream-query', name: 'stream-plugin-mybatis-plus', version: '版本号在上面'
      

      仓库地址: https://gitee.com/dromara/stream-query (opens new window)

      // Make sure to add code blocks to your code group

      提示

      1. 内置stream-core依赖,无须重复引入
      2. 更多关于项目上手的问题,请查阅 问答 (opens new window)。

      # 动态Mapper

      # @EnableMybatisPlusPlugin

      • 描述:指定实体类为其生成动态Mapper接口
      • 使用位置:配置类
      @SpringBootApplication
      @EnableMybatisPlusPlugin(basePackages = "org.dromara.streamquery.stream.plugin.**.pojo.**")
      public class SpringBootApplication {}
      

      除此之外,@EnableMybatisPlusPlugin 也支持多种配置方式,详情请参考动态Mapper一文

      上次更新: 2024/03/29, 09:17:32
      模块介绍

      模块介绍→

      Theme by Vdoing | Copyright © 2023-2024 阿超 | Apache License, Version 2.0
      • 跟随系统
      • 浅色模式
      • 深色模式
      • 阅读模式