Преглед изворни кода

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

release_toaliyun_real
Stormeye Wu пре 7 година
родитељ
комит
2aa062f02f
1 измењених фајлова са 2 додато и 0 уклоњено
  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 Прегледај датотеку

@@ -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;

Loading…
Откажи
Сачувај