//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("DELETE FROM projectx.tb_action_record where user_id = '"+consumerId+"' and project_id = '"+projectId+"' and playway_id = '"+playwayId+"'");
//清除kv表数据
sqlService.update("DELETE FROM projectx.tb_kvdata_expire where string_key = 'K008_"+consumerId+"_sign_"+projectId+"'");
//String sql = "SELECT * FROM ckvtable.tb_kvtable_"+tag+" where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_itemId_"+consumerId+"_"+cardId+"';";
...
...
@@ -137,6 +142,20 @@ public class NewSignModule {
//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("DELETE FROM projectx.tb_action_record where user_id = '"+consumerId+"' and project_id = '"+projectId+"' and playway_id = '"+playwayId+"' and to_days(gmt_create) = to_days(now())");
//还原kv表当天数据
Stringsqlkv="SELECT * FROM projectx.tb_kvdata_expire where string_key = 'K008_"+consumerId+"_sign_"+projectId+"'";