Skip to content

IDEA插件/Jenkins工具:复制 Mapper.xml 中的 SQL ,导出所有 SQL 并检查和解析对应的表和条件字段和关系导出 Excel 和 PlantUML 关系图,可以对比并只导出差异的 SQL

Notifications You must be signed in to change notification settings

LinWanCen/sql-list

Folders and files

NameName
Last commit message
Last commit date
Oct 20, 2024
Aug 28, 2024
Jan 14, 2025
Nov 9, 2023
Jan 7, 2025
Oct 14, 2024
Oct 9, 2024
Aug 28, 2024
Jan 7, 2025
Nov 18, 2023
Nov 18, 2023
Oct 14, 2024
Nov 18, 2023
Nov 18, 2023

Repository files navigation

SQL 清单 sql-list

Version Downloads

  • Maven package for Jenkins etc.

  • Gradle build for IDEA plugin.

  • 入参

    • 多个目录
    • 多个文件
    • gitHash..gitHash 多个 Git 根目录
    • gitBranch..gitBranch 多个 Git 根目录
    • diff 旧目录 新目录
    • 无入参时 GUI 弹框选择

Plugin description 插件介绍

Copy or export and check MyBatis *.xml SQL and Column Relationships to Excel and PlantUML With Git Author.

复制或导出并检查 Mybatis *.xml 中的 SQL,涉及的表和条件列关系,生成 Excel 表格、PlantUML 文件,包含 Git 最后修改时间和作者。

How to Use

  • Select dir and right-click Export MyBatis *.xml SQL
  • Select two dir and right-click Export Mybatis *.xml diff SQL
  • Select MyBatis *.xml SQL and right-click Copy MyBatis *.xml SQL
  • Open File sql-list...xlsx or sql-list...puml by Draw Graph or PlantUML Integration
  • See Jenkins.md

My Plugin

  • Show doc comment in the Project view Tree, line End, JSON etc.: Show Comment
  • Method call usage graph and maven dependency graph: Draw Graph
  • Find author/comment of multiple files or lines and export Find: Find Author
  • Auto sync coverage and capture coverage during debug: Sync Coverage
  • UnCompress and Delete same, use javap -c decompile class: Compare Jar
  • Check and export MyBatis *.xml SQL to Excel With Git Author: SQL List

中文

用法

  • 选择多个目录右键点击 导出 Mybatis *.xml 的 SQL
  • 选择SQL文本右键点击 复制 Mybatis *.xml 的 SQL
  • 选择两个目录右键点击 导出 MyBatis *.xml 差异的 SQL
  • 打开文件 sql-list...xlsx 或 sql-list...puml 用 Draw GraphPlantUML Integration
  • 在服务器中用 Jenkins 运行详见 Jenkins 使用方式指南

我的项目

  • 在文件树、行末、JSON 显示注释:Show Comment
  • 生成 方法调用图 和 Maven 依赖图:Draw Graph
  • 查找多个文件或行的作者 与 导出搜索:Find Author
  • 自动同步覆盖率 和 调试中抓取覆盖率:Sync Coverage
  • 逐层解压,删除相同文件,反编译 class 对比:Compare Jar
  • 检查 Mybatis *.xml 中的 SQL,涉及的表和条件列,Git 最后修改时间和作者,生成 Excel 表格:SQL List

支持

如果对你有所帮助,别忘了给 本项目 GitHub 主页 一个 Star,您的支持是项目前进的动力。

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "sql-list" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

Changelog 更新说明


Plugin based on the IntelliJ Platform Plugin Template.

TODO

About

IDEA插件/Jenkins工具:复制 Mapper.xml 中的 SQL ,导出所有 SQL 并检查和解析对应的表和条件字段和关系导出 Excel 和 PlantUML 关系图,可以对比并只导出差异的 SQL

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published