feat:用户位置

This commit is contained in:
dzc committed 2025-11-07 14:59:00 +08:00
1 parent 45d6e2b1ce
commit 89e8e40ddf
21 files changed
+874 -50

No files matched your search

+24 -1
View File
@@ -118,4 +118,27 @@ CREATE TABLE `member_photo`
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
`tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 32 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '用户相册';
) ENGINE = InnoDB AUTO_INCREMENT = 32 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '用户相册';
-- ----------------------------
-- Table structure for member_location
-- ----------------------------
DROP TABLE IF EXISTS `member_location`;
CREATE TABLE `member_location`
(
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户位置id',
`member_id` bigint NOT NULL COMMENT '人员id',
`long` double precision DEFAULT NULL COMMENT '经度',
`lat` double precision DEFAULT NULL COMMENT '纬度',
`province` varchar(64) DEFAULT NULL COMMENT '省',
`city` varchar(64) DEFAULT NULL COMMENT '市',
`district` varchar(64) DEFAULT NULL COMMENT '区',
`address` varchar(256) DEFAULT NULL COMMENT '详细地址',
`creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '创建者',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '更新者',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
`tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 32 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '用户位置记录';