reptileorder.sql 6.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : 192.168.1.173
  4. Source Server Type : MySQL
  5. Source Server Version : 50724
  6. Source Host : 192.168.1.173:3306
  7. Source Schema : reptileorder
  8. Target Server Type : MySQL
  9. Target Server Version : 50724
  10. File Encoding : 65001
  11. Date: 11/06/2019 10:11:30
  12. */
  13. SET NAMES utf8mb4;
  14. SET FOREIGN_KEY_CHECKS = 0;
  15. -- ----------------------------
  16. -- Table structure for hm_serviceorder
  17. -- ----------------------------
  18. DROP TABLE IF EXISTS `hm_serviceorder`;
  19. CREATE TABLE `hm_serviceorder` (
  20. `id` bigint(20) NOT NULL AUTO_INCREMENT,
  21. `station_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '驿站code',
  22. `station_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '驿站名称',
  23. `book_trade_no` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '工单号',
  24. `remark` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '工单目的',
  25. `use_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '客户code',
  26. `user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '客户姓名',
  27. `user_phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '客户电话',
  28. `addr_detail` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '单元(19号8A)',
  29. `addr_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '地址(上海浦东区众城公寓向城路)',
  30. `begin_time` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '预约开始时间',
  31. `start_time` datetime(0) NULL DEFAULT NULL COMMENT '服务开始时间',
  32. `end_time` datetime(0) NULL DEFAULT NULL COMMENT '服务结束时间',
  33. `duration` int(5) NULL DEFAULT NULL COMMENT '服务耗时(分钟)',
  34. `servant_id` bigint(20) NULL DEFAULT NULL COMMENT '服务者ID',
  35. `servant_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '服务者姓名',
  36. `servant_phone` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '服务者电话',
  37. `hm_order_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '关联单据',
  38. `item_id` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '服务项id',
  39. `item_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '服务项(M6周期卡 到家服务 鲸致生活 24次日常保洁)',
  40. `oper_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '最后操作人',
  41. `service_type` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '工单类别',
  42. `shop_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
  43. `status` varchar(2) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '状态',
  44. `create_time` datetime(0) NULL DEFAULT NULL,
  45. PRIMARY KEY (`id`) USING BTREE
  46. ) ENGINE = InnoDB AUTO_INCREMENT = 45614 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic;
  47. -- ----------------------------
  48. -- Table structure for hm_serviceorder_temp
  49. -- ----------------------------
  50. DROP TABLE IF EXISTS `hm_serviceorder_temp`;
  51. CREATE TABLE `hm_serviceorder_temp` (
  52. `id` bigint(20) NOT NULL AUTO_INCREMENT,
  53. `station_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '驿站code',
  54. `station_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '驿站名称',
  55. `book_trade_no` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '工单号',
  56. `remark` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '工单目的',
  57. `use_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '客户code',
  58. `user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '客户姓名',
  59. `user_phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '客户电话',
  60. `addr_detail` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '单元(19号8A)',
  61. `addr_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '地址(上海浦东区众城公寓向城路)',
  62. `begin_time` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '预约开始时间',
  63. `start_time` datetime(0) NULL DEFAULT NULL COMMENT '服务开始时间',
  64. `end_time` datetime(0) NULL DEFAULT NULL COMMENT '服务结束时间',
  65. `duration` int(5) NULL DEFAULT NULL COMMENT '服务耗时(分钟)',
  66. `servant_id` bigint(20) NULL DEFAULT NULL COMMENT '服务者ID',
  67. `servant_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '服务者姓名',
  68. `servant_phone` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '服务者电话',
  69. `hm_order_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '关联单据',
  70. `item_id` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '服务项id',
  71. `item_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '服务项(M6周期卡 到家服务 鲸致生活 24次日常保洁)',
  72. `oper_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '最后操作人',
  73. `service_type` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '工单类型(9派遣工单,2服务工单)',
  74. `shop_code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
  75. `status` varchar(2) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '状态',
  76. `create_time` datetime(0) NULL DEFAULT NULL,
  77. PRIMARY KEY (`id`) USING BTREE
  78. ) ENGINE = InnoDB AUTO_INCREMENT = 45614 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic;
  79. -- ----------------------------
  80. -- Table structure for hm_token
  81. -- ----------------------------
  82. DROP TABLE IF EXISTS `hm_token`;
  83. CREATE TABLE `hm_token` (
  84. `token` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL COMMENT '河马系统中cookie的WDKSESSID'
  85. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic;
  86. SET FOREIGN_KEY_CHECKS = 1;