Commit e55f1696 by mercymodest

feat:- add sql

parent fc6758fa
alter table store
alter table store
......@@ -183,6 +183,26 @@ alter table daily_pay_open_card_log
alter table user_card_change_logs
add leave_proofs text null comment '请假凭证, PNG Set<String> --> JSON String';
-- 表名称: daily_payment_task_log
CREATE TABLE IF NOT EXISTS `daily_payment_task_log` (
`id` BIGINT PRIMARY KEY COMMENT '主键ID',
-- 执行时间
`execution_time` DATETIME NOT NULL COMMENT '执行时间',
-- 执行结果 0: 成功, 1: 失败
`result` TINYINT NOT NULL COMMENT '执行结果 0: 成功, 1: 失败',
-- 定时任务查询订单开始时间
`query_order_start_time` DATETIME NOT NULL COMMENT '定时任务查询订单开始时间',
-- 定时任务查询订单结束时间
`query_order_end_time` DATETIME NOT NULL COMMENT '定时任务查询订单结束时间',
-- 定时任务查询订单数量
`query_order_count` INT NOT NULL COMMENT '定时任务查询订单数量',
-- 错误信息
`error_message` TEXT COMMENT '错误信息',
`created_at` DATETIME DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间'
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COMMENT = '每日付-开卡定时任务日志';
-- 索引
CREATE INDEX idx_execution_time ON daily_payment_task_log (execution_time);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment