//sqlService.update("update ckvtable.tb_kvtable_"+tag+" set int_value = '"+count+"' where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_itemId_"+consumerId+"_"+cardId+"'");
sqlService.update("update projectx.tb_ranking_config set send_prize='1',send_prize_time = NULL where project_id ='"+projectId+"' and type = '"+type+"'");
Thread.sleep(1000);
sqlService.update("update projectx.tb_ranking set prize_id=NULL,send_prize='0',send_prize_time = null where project_id ='"+projectId+"' and type = '"+type+"'");
//清除分数统计表tb_ranking人员的开奖信息
sqlService.update("update projectx.tb_ranking set prize_id = NULL,send_prize='0',send_prize_time = null where project_id ='"+projectId+"' and type = '"+type+"'");
Thread.sleep(500);
//重置归档表tb_leaderboard_archive表的开奖状态
sqlService.update("update projectx.tb_leaderboard_archive set op_status = '1',actual_op_time = NULL where project_id ='"+projectId+"' and ranking_type = '"+type+"'");
Stringsql2="UPDATE projectx.tb_leaderboard_archive set option_json = '"+option+"' where project_id='"+projectId+"' and leaderboard_version = '"+current_version+"'";
Stringsql="SELECT id,start_time,end_time,next_reset_time,next_op_time,current_ranking_type FROM projectx.tb_leaderboard_config where project_id = '"+projectId+"'";
Stringsqlarchive="SELECT ranking_type,ranking_name,start_join_time,start_time,end_time FROM projectx.tb_leaderboard_archive where project_id = '"+projectId+"'";