1. add merchant update address
This commit is contained in:
2025-11-05 14:32:53 +08:00
parent 85e70f662a
commit b474c285f9
9 changed files with 181 additions and 0 deletions

20
doc/sql/address_log.sql Normal file
View File

@@ -0,0 +1,20 @@
DROP TABLE IF EXISTS `ar_merchant_address_log`;
CREATE TABLE `ar_merchant_address_log`
(
`id` bigint(20) NOT NULL COMMENT '主键',
`user_id` bigint(20) not null default 0 comment '用户id',
`old_value` text not null comment '旧值',
`new_value` text not null comment '新值',
`create_user` bigint(0) NULL DEFAULT NULL COMMENT '创建人',
`create_dept` bigint(0) NULL DEFAULT NULL COMMENT '创建部门',
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(0) NULL DEFAULT NULL COMMENT '修改人',
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
`status` int(0) NULL DEFAULT NULL COMMENT '状态',
`is_deleted` int(0) NULL DEFAULT NULL COMMENT '是否已删除',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_user_id` (`user_id`) USING BTREE
) ENGINE = InnoDB
CHARACTER SET = utf8mb4
COLLATE = utf8mb4_general_ci COMMENT = 'AR商户地址变更日志'
ROW_FORMAT = Dynamic;