# fates **Repository Path**: fxh/fates ## Basic Information - **Project Name**: fates - **Description**: Java框架使用 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-04-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # fates #### 项目介绍 Java框架使用 ###技术说明 1. Mysql重要语句 1.1 获取数据库中所有表信息 select TABLE_NAME as 表名称, TABLE_ROWS as 表数量, AUTO_INCREMENT as 自动递增字段下一个值, CREATE_TIME as 表创建时间, UPDATE_TIME as 表结构更新时间, TABLE_COMMENT as 表注释 from information_schema.TABLES where TABLE_SCHEMA='databaseNAme' and TABLE_TYPE='BASE TABLE'; 1.2 获取表中所有字段信息 select COLUMN_NAME as 列名称, ORDINAL_POSITION as 在表中排序(1~n), IS_NULLABLE as 是否可为空, DATA_TYPE as 数据类型, CHARACTER_MAXIMUM_LENGTH as 字符串长度, NUMERIC_PRECISION as 数据型长度(长度-1), COLUMN_TYPE as 数据类型, CILUMN_KEY as 键类型(PRI为主键), EXTRA as 是否自增(auto_increment), COLUMN_COMMENT as 字段注释 from information_schema.COLUMNS where TABLE_SCHEMA='databaseNAme' and TABLE_NAME='tableName' order by ORDINAL_POSITION asc; #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本项目 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/explore) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [http://git.mydoc.io/](http://git.mydoc.io/) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)