@@ -45,6 +45,16 @@ public class 秒杀商品_自有新优惠券_兑换限制 extends DuibaTestBase
jdbc.update("UPDATE seckill.tb_seckill_act_conf set gmt_start = '"+starttime+"', gmt_end = '"+endtiem+"' WHERE id = 19 and app_id =22563 and app_item_id=195533");
//商品售罄
jdbc.update("UPDATE seckill.tb_seckill_act_conf set gmt_start = '"+starttime+"', gmt_end = '"+endtiem+"' WHERE id = 20 and app_id =22563 and app_item_id=195534");
//商品永久限制
jdbc.update("UPDATE seckill.tb_seckill_act_conf set gmt_start = '"+starttime+"', gmt_end = '"+endtiem+"' WHERE id = 36 and app_id =22563 and app_item_id=195549");
jdbc.update("DELETE FROM credits_dev.consumer_limit_record where app_item_id =195549");
//每日兑换限制
jdbc.update("UPDATE seckill.tb_seckill_act_conf set gmt_start = '"+starttime+"', gmt_end = '"+endtiem+"' WHERE id = 37 and app_id =22563 and app_item_id=195550");
jdbc.update("DELETE FROM credits_dev.consumer_limit_record where app_item_id =195550");
//周期限制
jdbc.update("UPDATE seckill.tb_seckill_act_conf set gmt_start = '"+starttime+"', gmt_end = '"+endtiem+"' WHERE id = 38 and app_id =22563 and app_item_id=195551");
jdbc.update("DELETE FROM credits_dev.consumer_limit_record where app_item_id =195551");
//永久兑换限制
Thread.sleep(2000);
}catch(SQLExceptione){
...
...
@@ -262,4 +272,170 @@ public class 秒杀商品_自有新优惠券_兑换限制 extends DuibaTestBase
@@ -46,6 +46,15 @@ public class 秒杀商品_自有新实物_兑换限制 extends DuibaTestBase {
jdbc.update("UPDATE seckill.tb_seckill_act_conf set gmt_start = '"+starttime+"', gmt_end = '"+endtiem+"' WHERE id = 14 and app_id =22563 and app_item_id=195385");
//商品售罄
jdbc.update("UPDATE seckill.tb_seckill_act_conf set gmt_start = '"+starttime+"', gmt_end = '"+endtiem+"' WHERE id = 15 and app_id =22563 and app_item_id=195410");
//每日兑换限制
jdbc.update("UPDATE seckill.tb_seckill_act_conf set gmt_start = '"+starttime+"', gmt_end = '"+endtiem+"' WHERE id = 34 and app_id =22563 and app_item_id=195547");
jdbc.update("DELETE FROM credits_dev.consumer_limit_record where app_item_id =195547");
//永久兑换限制
jdbc.update("UPDATE seckill.tb_seckill_act_conf set gmt_start = '"+starttime+"', gmt_end = '"+endtiem+"' WHERE id = 33 and app_id =22563 and app_item_id=195546");
jdbc.update("DELETE FROM credits_dev.consumer_limit_record where app_item_id =195546");
//周期兑换限制
jdbc.update("UPDATE seckill.tb_seckill_act_conf set gmt_start = '"+starttime+"', gmt_end = '"+endtiem+"' WHERE id = 35 and app_id =22563 and app_item_id=195548");
jdbc.update("DELETE FROM credits_dev.consumer_limit_record where app_item_id =195548");
Thread.sleep(2000);
}catch(SQLExceptione){
e.printStackTrace();
...
...
@@ -256,4 +265,136 @@ public class 秒杀商品_自有新实物_兑换限制 extends DuibaTestBase {