|
|
@@ -365,7 +365,7 @@ CREATE TABLE `pi_status` (
|
|
|
`repeat_prev_total_count_in_week` int NOT NULL COMMENT '本周需打卡数(变更重复类型前)',
|
|
|
`repeat_start_date_in_month` date DEFAULT NULL COMMENT '本月重复周期开始时间',
|
|
|
`repeat_prev_total_count_in_month` int NOT NULL COMMENT '本月需打卡数(变更重复类型前)',
|
|
|
- `stat_time_in_week` char(8) NOT NULL COMMENT '统计周数(格式:yyyy-周数)',
|
|
|
+ `stat_time_in_week` char(8) NOT NULL COMMENT '统计周数(格式:yyyy-W周数)',
|
|
|
`punch_in_total_count_in_week` int NOT NULL COMMENT '本周需打卡数',
|
|
|
`punch_in_count_in_week` int NOT NULL COMMENT '本周已打卡数',
|
|
|
`punch_in_done_count_in_week` int NOT NULL COMMENT '本周完成打卡数',
|
|
|
@@ -405,7 +405,7 @@ CREATE TABLE `pi_status_history` (
|
|
|
`repeat_prev_total_count_in_week` int NOT NULL COMMENT '本周需打卡数(变更重复类型前)',
|
|
|
`repeat_start_date_in_month` date DEFAULT NULL COMMENT '本月重复周期开始时间',
|
|
|
`repeat_prev_total_count_in_month` int NOT NULL COMMENT '本月需打卡数(变更重复类型前)',
|
|
|
- `stat_time_in_week` char(8) NOT NULL COMMENT '统计周数(格式:yyyy-周数)',
|
|
|
+ `stat_time_in_week` char(8) NOT NULL COMMENT '统计周数(格式:yyyy-W周数)',
|
|
|
`punch_in_total_count_in_week` int NOT NULL COMMENT '本周需打卡数',
|
|
|
`punch_in_count_in_week` int NOT NULL COMMENT '本周已打卡数',
|
|
|
`punch_in_done_count_in_week` int NOT NULL COMMENT '本周完成打卡数',
|
|
|
@@ -770,13 +770,13 @@ ALTER TABLE punch_settle.pi_status_history MODIFY COLUMN points_in_week int NULL
|
|
|
ALTER TABLE punch_settle.pi_status_history MODIFY COLUMN punch_in_done_count_in_week int NULL COMMENT '本周完成打卡数';
|
|
|
ALTER TABLE punch_settle.pi_status_history MODIFY COLUMN punch_in_count_in_week int NULL COMMENT '本周已打卡数';
|
|
|
ALTER TABLE punch_settle.pi_status_history MODIFY COLUMN punch_in_total_count_in_week int NULL COMMENT '本周需打卡数';
|
|
|
-ALTER TABLE punch_settle.pi_status_history MODIFY COLUMN stat_time_in_week char(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '统计周数(格式:yyyy-周数)';
|
|
|
+ALTER TABLE punch_settle.pi_status_history MODIFY COLUMN stat_time_in_week char(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '统计周数(格式:yyyy-W周数)';
|
|
|
ALTER TABLE punch_settle.pi_status_history MODIFY COLUMN repeat_prev_total_count_in_month int NULL COMMENT '本月需打卡数(变更重复类型前)';
|
|
|
ALTER TABLE punch_settle.pi_status_history MODIFY COLUMN repeat_prev_total_count_in_week int NULL COMMENT '本周需打卡数(变更重复类型前)';
|
|
|
|
|
|
ALTER TABLE punch_settle.pi_status MODIFY COLUMN repeat_prev_total_count_in_week int NULL COMMENT '本周需打卡数(变更重复类型前)';
|
|
|
ALTER TABLE punch_settle.pi_status MODIFY COLUMN repeat_prev_total_count_in_month int NULL COMMENT '本月需打卡数(变更重复类型前)';
|
|
|
-ALTER TABLE punch_settle.pi_status MODIFY COLUMN stat_time_in_week char(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '统计周数(格式:yyyy-周数)';
|
|
|
+ALTER TABLE punch_settle.pi_status MODIFY COLUMN stat_time_in_week char(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '统计周数(格式:yyyy-W周数)';
|
|
|
ALTER TABLE punch_settle.pi_status MODIFY COLUMN punch_in_total_count_in_week int NULL COMMENT '本周需打卡数';
|
|
|
ALTER TABLE punch_settle.pi_status MODIFY COLUMN punch_in_count_in_week int NULL COMMENT '本周已打卡数';
|
|
|
ALTER TABLE punch_settle.pi_status MODIFY COLUMN punch_in_done_count_in_week int NULL COMMENT '本周完成打卡数';
|
|
|
@@ -794,3 +794,8 @@ ALTER TABLE punch_settle.account_transfer_history MODIFY COLUMN sa_points_before
|
|
|
ALTER TABLE punch_settle.account_transfer_history MODIFY COLUMN sa_points_after_transfer int NULL COMMENT '转出账户转出后积分';
|
|
|
|
|
|
ALTER TABLE punch_settle.reward MODIFY COLUMN reward_unique_id bigint NULL COMMENT '奖励唯一id';
|
|
|
+
|
|
|
+ALTER TABLE punch_settle.pi_task ADD manual_archive_date date NULL COMMENT '手动归档日期';
|
|
|
+ALTER TABLE punch_settle.pi_task CHANGE manual_archive_date manual_archive_date date NULL COMMENT '手动归档日期' AFTER archive_status;
|
|
|
+ALTER TABLE punch_settle.pi_task CHANGE end_date auto_archive_date date NULL COMMENT '自动归档日期';
|
|
|
+ALTER TABLE punch_settle.pi_task MODIFY COLUMN auto_archive_date date NULL COMMENT '自动归档日期';
|