mirror of
https://gitee.com/coder-xiaomo/flashsale
synced 2025-09-11 14:31:40 +08:00
添加数据库SQL文件,无法下载的Maven依赖文件以及简单的README.md
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,58 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<groupId>org.eclipse.m2e</groupId>
|
||||||
|
<artifactId>lifecycle-mapping</artifactId>
|
||||||
|
<version>1.0.0</version>
|
||||||
|
<packaging>maven-plugin</packaging>
|
||||||
|
|
||||||
|
<name>lifecycle-mapping Maven Dummy Plugin</name>
|
||||||
|
<description>Dummy Plugin, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=367870
|
||||||
|
and http://stackoverflow.com/questions/7905501/get-rid-of-pom-not-found-warning-for-org-eclipse-m2elifecycle-mapping/
|
||||||
|
</description>
|
||||||
|
<url>https://bugs.eclipse.org/bugs/show_bug.cgi?id=367870</url>
|
||||||
|
<properties>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.maven</groupId>
|
||||||
|
<artifactId>maven-plugin-api</artifactId>
|
||||||
|
<version>2.0</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
|
<artifactId>junit</artifactId>
|
||||||
|
<version>4.10</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-plugin-plugin</artifactId>
|
||||||
|
<version>2.5.1</version>
|
||||||
|
<configuration>
|
||||||
|
<goalPrefix>lifecycle-mapping</goalPrefix>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>generated-helpmojo</id>
|
||||||
|
<goals>
|
||||||
|
<goal>helpmojo</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
<version>2.3.2</version>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<metadata>
|
||||||
|
<groupId>org.eclipse.m2e</groupId>
|
||||||
|
<artifactId>lifecycle-mapping</artifactId>
|
||||||
|
<versioning>
|
||||||
|
<latest>1.0.0</latest>
|
||||||
|
<release>1.0.0</release>
|
||||||
|
<versions>
|
||||||
|
<version>1.0.0</version>
|
||||||
|
</versions>
|
||||||
|
<lastUpdated>20220301062417</lastUpdated>
|
||||||
|
</versioning>
|
||||||
|
</metadata>
|
3
Others/README.md
Normal file
3
Others/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
MavenRepo: 不存在的Maven依赖,需要手动复制到本地Maven仓库中
|
||||||
|
|
||||||
|
sql: 项目数据库文件
|
57
Others/sql/flashsale.sql
Normal file
57
Others/sql/flashsale.sql
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
Navicat Premium Data Transfer
|
||||||
|
|
||||||
|
Source Server : localhost MySQL 5.7
|
||||||
|
Source Server Type : MySQL
|
||||||
|
Source Server Version : 50726
|
||||||
|
Source Host : localhost:3306
|
||||||
|
Source Schema : flashsale
|
||||||
|
|
||||||
|
Target Server Type : MySQL
|
||||||
|
Target Server Version : 50726
|
||||||
|
File Encoding : 65001
|
||||||
|
|
||||||
|
Date: 01/03/2022 15:16:20
|
||||||
|
*/
|
||||||
|
|
||||||
|
SET NAMES utf8mb4;
|
||||||
|
SET FOREIGN_KEY_CHECKS = 0;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for user_info
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `user_info`;
|
||||||
|
CREATE TABLE `user_info` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||||
|
`gender` tinyint(4) NOT NULL DEFAULT 0 COMMENT '1代表男性,2代表女性',
|
||||||
|
`age` int(11) NOT NULL DEFAULT 0,
|
||||||
|
`telephone` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||||
|
`register_mode` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '通过手机号注册,通过微信注册,通过支付宝注册',
|
||||||
|
`third_party_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Records of user_info
|
||||||
|
-- ----------------------------
|
||||||
|
INSERT INTO `user_info` VALUES (1, '第一个用户', 2, 18, '110', 'phone', '');
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for user_password
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `user_password`;
|
||||||
|
CREATE TABLE `user_password` (
|
||||||
|
`id` int(11) NOT NULL,
|
||||||
|
`encrpt_password` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||||
|
`user_id` int(11) NOT NULL DEFAULT 0,
|
||||||
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
|
INDEX `user_id`(`user_id`) USING BTREE,
|
||||||
|
CONSTRAINT `user_password_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user_info` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
||||||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Records of user_password
|
||||||
|
-- ----------------------------
|
||||||
|
|
||||||
|
SET FOREIGN_KEY_CHECKS = 1;
|
@@ -37,12 +37,12 @@
|
|||||||
<table tableName="user_info" domainObjectName="userDataObject" enableCountByExample="false"
|
<table tableName="user_info" domainObjectName="userDataObject" enableCountByExample="false"
|
||||||
enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"
|
enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"
|
||||||
selectByExampleQueryId="false">
|
selectByExampleQueryId="false">
|
||||||
<!-- 去除复杂操作语句-->
|
<!--去除复杂操作语句-->
|
||||||
<!-- enableCountByExample="false"-->
|
<!--enableCountByExample="false"-->
|
||||||
<!-- enableUpdateByExample="false" -->
|
<!--enableUpdateByExample="false" -->
|
||||||
<!-- enableDeleteByExample="false" -->
|
<!--enableDeleteByExample="false" -->
|
||||||
<!-- enableSelectByExample="false"-->
|
<!--enableSelectByExample="false"-->
|
||||||
<!-- selectByExampleQueryId="false"-->
|
<!--selectByExampleQueryId="false"-->
|
||||||
</table>
|
</table>
|
||||||
<table tableName="user_password" domainObjectName="userPasswordDataObject" enableCountByExample="false"
|
<table tableName="user_password" domainObjectName="userPasswordDataObject" enableCountByExample="false"
|
||||||
enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"
|
enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"
|
||||||
|
Reference in New Issue
Block a user