jdbc.update("update tb_kvtable_"+tag+" set int_value = '"+count+"' where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_itemId_"+consumerId+"_"+cardId+"'",null);
Stringsql="SELECT * FROM tb_kvtable_"+tag+" where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_Crule_grade_"+consumerId+"_"+ruleId+"_"+termId+"'";
System.out.println("sql为:"+sql);
jdbc=MysqlUtils.mysqlDuiba("ckvtable");
Mapdata=jdbc.findSimpleResult(sql);
if(data.isEmpty()){
map.put("success","false");
map.put("message","该用户未开过大奖");
}else{
try{
jdbc.update("delete FROM tb_kvtable_"+tag+" where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_Crule_grade_"+consumerId+"_"+ruleId+"_"+termId+"'");