Files
ruoyi-java/doc/腾讯文档操作日志表.sql
2025-11-06 19:36:24 +08:00

21 lines
1.2 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 腾讯文档操作日志表
CREATE TABLE `tencent_doc_operation_log` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
`file_id` varchar(100) DEFAULT NULL COMMENT '文档ID',
`sheet_id` varchar(100) DEFAULT NULL COMMENT '工作表ID',
`operation_type` varchar(50) DEFAULT NULL COMMENT '操作类型WRITE_SINGLE单个写入、BATCH_SYNC批量同步',
`order_no` varchar(100) DEFAULT NULL COMMENT '订单单号',
`target_row` int(11) DEFAULT NULL COMMENT '目标行号',
`logistics_link` varchar(500) DEFAULT NULL COMMENT '写入的物流链接',
`operation_status` varchar(20) DEFAULT NULL COMMENT '操作状态SUCCESS成功、FAILED失败、SKIPPED跳过',
`error_message` text COMMENT '错误信息',
`operator` varchar(100) DEFAULT NULL COMMENT '操作人',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`),
KEY `idx_order_no` (`order_no`),
KEY `idx_create_time` (`create_time`),
KEY `idx_file_sheet` (`file_id`, `sheet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='腾讯文档操作日志表';