BooleanclearResult8=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'activity-centerjoinNum_100025007_19933'",null);
BooleanclearResult9=jdbc.update("delete from ckvtable.tb_kvtable_0656 where consumer_id = 100026000 and vkey = 'activity-centerjoinNum_100026000_19933'",null);
}catch(Exceptione){
e.printStackTrace();
}
}
publicvoidclearGrade1Db(){
try{
//清除自定义活动-中奖奖品数量信息(12851)
BooleanclearResult1=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'activity-centerwinOptionNum_100025007_19933_hdtool14153'",null);
//清除集卡规则n等级奖项-中奖次数(集卡规则id:9_1)
BooleanclearResult2=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'cl_good_cid_Crule_grade_100025007_243_1'",null);
//清除收集的集卡商品数量(集卡商品id:27160)
BooleanclearResult3=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'cl_good_cid_itemId_100025007_27217'",null);
BooleanclearResult1=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%activity-centerwinOptionNum_100025007_19934_hdtool%'",null);
BooleanclearResult2=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%cl_good_cid_Crule_grade_100025007_244%'",null);
BooleanclearResult3=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey in ('cl_good_cid_itemId_100025007_27218','cl_good_cid_itemId_100025007_27219')",null);
BooleanclearResult4=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'activity-centerjoinNum_100025007_19934'",null);
BooleanclearResult1=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%activity-centerwinOptionNum_100025007_19934_hdtool%'",null);
BooleanclearResult2=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%cl_good_cid_Crule_grade_100025007_244%'",null);
BooleanclearResult3=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey in ('cl_good_cid_itemId_100025007_27218','cl_good_cid_itemId_100025007_27219')",null);
BooleanclearResult4=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'activity-centerjoinNum_100025007_19934'",null);
BooleanclearResult1=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%activity-centerwinOptionNum_100025007_19935_hdtool%'",null);
BooleanclearResult6=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%cl_good_cid_Crule_grade_100025007_245%'",null);
BooleanclearResult7=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey in ('cl_good_cid_itemId_100025007_27175')",null);
BooleanclearResult8=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'activity-centerjoinNum_100025007_19935'",null);
}catch(Exceptione){
e.printStackTrace();
}
}
publicvoidinsert2(){
try{
BooleaninsertStockResult=jdbc.update("update stock.tb_stock set stock = '2' where stock_id = '632130534524920245'",null);
}catch(Exceptione){
e.printStackTrace();
}
}
publicvoidinsert1(){
try{
BooleaninsertStockResult=jdbc.update("update stock.tb_stock set stock = '1' where stock_id = '632130534524920245'",null);
BooleanclearResult1=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%activity-centerwinOptionNum_100025007_19935_hdtool%'",null);
BooleanclearResult6=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%cl_good_cid_Crule_grade_100025007_245%'",null);
BooleanclearResult7=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey in ('cl_good_cid_itemId_100025007_27175')",null);
BooleanclearResult8=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'activity-centerjoinNum_100025007_19935'",null);
BooleanclearResult1=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%activity-centerwinOptionNum_100025007_19936_hdtool%'",null);
BooleanclearResult2=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%cl_good_cid_Crule_grade_100025007_246%'",null);
BooleanclearResult3=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey in ('cl_good_cid_itemId_100025007_27221')",null);
BooleanclearResult4=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'activity-centerjoinNum_100025007_19936'",null);
BooleanclearResult1=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%activity-centerwinOptionNum_100025007_19936_hdtool%'",null);
BooleanclearResult2=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%cl_good_cid_Crule_grade_100025007_246%'",null);
BooleanclearResult3=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey in ('cl_good_cid_itemId_100025007_27221')",null);
BooleanclearResult4=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'activity-centerjoinNum_100025007_19936'",null);
BooleanclearResult2=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%cl_good_cid_Crule_grade_100025007_247%'",null);
BooleanclearResult3=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey in ('cl_good_cid_itemId_100025007_27222','cl_good_cid_itemId_100025007_27223')",null);
BooleanclearResult4=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'activity-centerjoinNum_100025007_19937'",null);
BooleanclearResult1=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey in ('cl_good_cid_itemId_100025007_27226')",null);
BooleanclearResult1=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%activity-centerwinOptionNum_100025007_19123_hdtool%'",null);
//清除集卡规则n等级奖项-中奖次数(集卡规则id:8)
BooleanclearResult2=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey like '%cl_good_cid_Crule_grade_100025007_8%'",null);
BooleanclearResult3=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey in ('cl_good_cid_itemId_100025007_27154','cl_good_cid_itemId_100025007_27155','cl_good_cid_itemId_100025007_27156','cl_good_cid_itemId_100025007_27157','cl_good_cid_itemId_100025007_27158')",null);
//清除用户参与活动次数(活动id:19009)
BooleanclearResult4=jdbc.update("delete from ckvtable.tb_kvtable_0687 where consumer_id = 100025007 and vkey = 'activity-centerjoinNum_100025007_19123'",null);