Browse Source

add sequence

master
mammut09 4 years ago
parent
commit
95ce8fbfe4
2 changed files with 14 additions and 13 deletions
  1. 12
    11
      document/sys_bag.sql
  2. 2
    2
      src/main/resources/application-dev.properties

+ 12
- 11
document/sys_bag.sql View File

@@ -14,6 +14,7 @@ File Encoding : 65001
Date: 2020-04-25 23:34:46
*/

CREATE SEQUENCE sys_id_seq;

-- ----------------------------
-- Table structure for sys_bag
@@ -38,17 +39,17 @@ WITH (OIDS=FALSE)
-- ----------------------------
-- Records of sys_bag
-- ----------------------------
INSERT INTO "public"."sys_bag" VALUES ('1', 'dd', '硬塑', '700', '670', 'CA', '77', '5', '2020-05-11', '2020-05-03');
INSERT INTO "public"."sys_bag" VALUES ('2', '美的', '硬塑', '40.58', '30.33', 'CZ', '70', '15', '2019-12-30', '2020-04-28');
INSERT INTO "public"."sys_bag" VALUES ('3', '1', '1', '1', '1', 'MU', '1', '1', '2020-03-30', '2020-04-30');
INSERT INTO "public"."sys_bag" VALUES ('5', '66', '66', '22', '2', 'ZA', '2', '2', '2020-03-30', '2020-05-03');
INSERT INTO "public"."sys_bag" VALUES ('6', '66', '66', '1', '5', 'CA', '5', '5', '2020-03-30', '2020-05-02');
INSERT INTO "public"."sys_bag" VALUES ('7', '99', '99', '3', '3', 'CA', '3', '1', '2020-03-30', '2020-05-01');
INSERT INTO "public"."sys_bag" VALUES ('8', '11', '66', '88', '7', 'CA', '8', '8', '2020-03-30', '2020-03-29');
INSERT INTO "public"."sys_bag" VALUES ('9', '66', '1', '2', '3', '5', '5', '5', '2020-03-30', '2020-04-16');
INSERT INTO "public"."sys_bag" VALUES ('10', '66', '99', '55', '5', 'NH', '5', '5', '2020-03-30', '2020-04-30');
INSERT INTO "public"."sys_bag" VALUES ('11', 'w', 'w', '4', '4', '4', '5', '5', '2020-03-30', '2020-04-30');
INSERT INTO "public"."sys_bag" VALUES ('12', '皮', '软壳', '300', '200', ' CA', '50', '9', '2019-12-30', '2020-05-14');
INSERT INTO "public"."sys_bag" VALUES ('11', 'dd', '硬塑', '700', '670', 'CA', '77', '5', '2020-05-11', '2020-05-03');
INSERT INTO "public"."sys_bag" VALUES ('12', '美的', '硬塑', '40.58', '30.33', 'CZ', '70', '15', '2019-12-30', '2020-04-28');
INSERT INTO "public"."sys_bag" VALUES ('13', '1', '1', '1', '1', 'MU', '1', '1', '2020-03-30', '2020-04-30');
INSERT INTO "public"."sys_bag" VALUES ('15', '66', '66', '22', '2', 'ZA', '2', '2', '2020-03-30', '2020-05-03');
INSERT INTO "public"."sys_bag" VALUES ('16', '66', '66', '1', '5', 'CA', '5', '5', '2020-03-30', '2020-05-02');
INSERT INTO "public"."sys_bag" VALUES ('17', '99', '99', '3', '3', 'CA', '3', '1', '2020-03-30', '2020-05-01');
INSERT INTO "public"."sys_bag" VALUES ('18', '11', '66', '88', '7', 'CA', '8', '8', '2020-03-30', '2020-03-29');
INSERT INTO "public"."sys_bag" VALUES ('19', '66', '1', '2', '3', '5', '5', '5', '2020-03-30', '2020-04-16');
INSERT INTO "public"."sys_bag" VALUES ('20', '66', '99', '55', '5', 'NH', '5', '5', '2020-03-30', '2020-04-30');
INSERT INTO "public"."sys_bag" VALUES ('21', 'w', 'w', '4', '4', '4', '5', '5', '2020-03-30', '2020-04-30');
INSERT INTO "public"."sys_bag" VALUES ('22', '皮', '软壳', '300', '200', ' CA', '50', '9', '2019-12-30', '2020-05-14');

-- ----------------------------
-- Alter Sequences Owned By

+ 2
- 2
src/main/resources/application-dev.properties View File

@@ -5,6 +5,6 @@ server.port=8080
#spring.datasource.username=root
#spring.datasource.password=

spring.datasource.url=jdbc:postgresql://localhost:5432/pf
spring.datasource.url=jdbc:postgresql://192.168.1.126:5432/pf
spring.datasource.username=postgres
spring.datasource.password=123456
spring.datasource.password=postgres

Loading…
Cancel
Save