GithubHelp home page GithubHelp logo

dmdb-document's Introduction

文档样式


文档样式


使用

  • 下载项目

  • 项目默认使用达梦7驱动 在start模块下pom.xml文件 77至81行代码

<!-- 如需使用达梦8驱动请自行替换成以下坐标信息 -->
<dependency>
    <groupId>com.dameng</groupId>
    <artifactId>Dm8JdbcDriver18</artifactId>
    <version>8.1.1.49</version>
</dependency>
  • 修改start模块resources目录下application.yml配置文件

    • 修改数据库配置信息
    spring:
      datasource:
      # 数据库地址
      url: jdbc:dm://127.0.0.1:5236
      # 用户名
      username: TEST
      # 密码
      password: TEST
      
    • 修改模板输出文件位置
    freemarker:
      # 生成文档文件输出路径
      outFilePath: /Users/Test/Desktop
      # 文档名称 注意必须已.doc文件结尾
      outFileName: dmdb.doc
  • 接口调用

    • http://localhost:8080/dmdbDoc/generateDoc(生成文档)
    • http://localhost:8080/dmdbDoc/getAllTablesByUser(返回当前数据库用户下所有表)
    • http://localhost:8080/dmdbDoc/getTableAllFieldByTableName?tableName=TEST(根据表名返回表结构信息)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.