Skip to content

Commit

Permalink
add querydsl init data
Browse files Browse the repository at this point in the history
  • Loading branch information
leelance committed Nov 27, 2016
1 parent 3317a77 commit 7a2ca3f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions spring-boot-jpa-querydsl/doc/demo_data.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
-- ----------------------------
-- Records of t_city
-- ----------------------------
INSERT INTO `t_city` VALUES ('2', 'China', 'China.ShangHai', 'ShangHai', '1');
INSERT INTO `t_city` VALUES ('3', 'China', 'China.NanJing', 'NanJing', '1');
INSERT INTO `t_city` VALUES ('4', 'China', 'China.BeiJing', 'BeiJing', '1');
INSERT INTO `t_city` VALUES ('5', 'China', 'China.GuangDong', 'GuangDong', '1');
INSERT INTO `t_city` VALUES ('6', 'China', 'China.ShanDong', 'ShangDong', '0');
-- ----------------------------
-- Records of t_hotel
-- ----------------------------
INSERT INTO `t_hotel` VALUES ('1', 'ShangHai.HutaiLu', 'Seven.Day', '2');
INSERT INTO `t_hotel` VALUES ('2', 'ShangHai.HongQiao', 'MoTai', '2');
INSERT INTO `t_hotel` VALUES ('3', 'ShangHai.JiangXi', 'HanTing', '2');
INSERT INTO `t_hotel` VALUES ('4', 'ShangHai.RenMin', 'Eight.Day', '2');
INSERT INTO `t_hotel` VALUES ('5', 'ShangHai', 'Nine.Day', '2');
INSERT INTO `t_hotel` VALUES ('8', 'BeiJing', 'Seven.Day', '3');
INSERT INTO `t_hotel` VALUES ('9', 'BeiJing', 'Nine.Day', '3');
INSERT INTO `t_hotel` VALUES ('10', 'NanJing', 'MoTai', '4');
INSERT INTO `t_hotel` VALUES ('11', 'NanJing', 'HanTing', '4');
INSERT INTO `t_hotel` VALUES ('12', 'GuangDong', 'Nine.Day', '5');
INSERT INTO `t_hotel` VALUES ('13', 'GuangDong', 'Eight.Day', '5');

0 comments on commit 7a2ca3f

Please sign in to comment.