Просмотр исходного кода

fix card

release_toaliyun_real
lin 3 лет назад
Родитель
Сommit
edfbcb7911
1 измененных файлов: 3 добавлений и 0 удалений
  1. +3
    -0
      mallinkAdmin/src/main/resources/db/migration/V2023022800001__card.sql

+ 3
- 0
mallinkAdmin/src/main/resources/db/migration/V2023022800001__card.sql Просмотреть файл

@@ -16,6 +16,9 @@ alter table wx_card_info add column status int(1) not null default 0 comment '
#update wx_card_info ci left join wx_coupon_password cp on ci.id = cp.card_id
#set ci.coupon_password_id = cp.id where cp.card_id is not null

update wx_card_info ci left join wx_coupon_password cp on ci.id = cp.card_id
set ci.coupon_password = cp.password where ci.coupon_password is null


alter table wx_coupon_password add column is_stop int(1) not null default 0 comment '是否已停止1-是,0-否';



Загрузка…
Отмена
Сохранить