From 8d82405ae2066943ab24de52bf83753f9a38ce8e Mon Sep 17 00:00:00 2001 From: xiaohu <1901900812@qq.com> Date: Tue, 25 Feb 2025 14:17:37 +0800 Subject: [PATCH] //offline --- .../src/main/resources/db/migration/V202501000000001.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkAdmin/src/main/resources/db/migration/V202501000000001.sql b/mallinkAdmin/src/main/resources/db/migration/V202501000000001.sql index 7aea3bfd9..e50fe7be6 100644 --- a/mallinkAdmin/src/main/resources/db/migration/V202501000000001.sql +++ b/mallinkAdmin/src/main/resources/db/migration/V202501000000001.sql @@ -69,7 +69,7 @@ ALTER TABLE `wx_offline_activity_grant_item` update wx_offline_activity_grant_item set grant_awards_mode = 2 where award_itam_id in (select id from wx_offline_activity_awards_item where `type` = 2); -update wx_offline_activity_grant_item set grant_awards_mode = 1 where award_itam_id is null ; +update wx_offline_activity_grant_item set grant_awards_mode = 1 where grant_awards_mode is null ; ALTER TABLE `wx_offline_activity_grant_item` MODIFY COLUMN `grant_awards_mode` smallint(1) NOT NULL COMMENT '发放奖励模式' AFTER `grant_id`;