Selaa lähdekoodia

[投放渠道][修改]:投放渠道开始结束时间数据清理

release_toaliyun_real
Stormeye Wu 7 vuotta sitten
vanhempi
commit
2aa062f02f
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. +2
    -0
      mallinkAdmin/src/main/resources/db/migration/V201905091750__CHANGE_COUPON_CHANNEL.sql

+ 2
- 0
mallinkAdmin/src/main/resources/db/migration/V201905091750__CHANGE_COUPON_CHANNEL.sql Näytä tiedosto

@@ -0,0 +1,2 @@
update wx_coupon_channel set begin_time = create_date where begin_time is null;
update wx_coupon_channel co, wx_coupon c set co.end_time = c.valid_end_date where co.target_ad != 2 and co.target_ad != 8 and co.coupon_id = c.id and c.valid_type = 1 and co.end_time is null;

Ladataan…
Peruuta
Tallenna