jdbc.update("update consumer_account_log.tb_expire_consumer_account set gmt_modified ='"+getTime(-1)+"' where account_id = '"+consumerId+"_6_0'");
//删除过期记录
jdbc.update("delete from consumer_account_log.tb_consumer_accounts_log where account_id = '"+consumerId+"_6_0' and biz_type='10'");
//删除自动化充值记录
jdbc.update("delete from consumer_account_log.tb_consumer_accounts_log where account_id = '"+consumerId+"_6_0' and biz_type='19'");
Map<String,Object>sqlResult=jdbc.findSimpleResult("select * from consumer_account_log.tb_expire_consumer_account where account_id = '"+consumerId+"_6_0' ");
Map<String,Object>sqlResult=jdbc.findSimpleResult("select * from consumer_account_log.tb_expire_consumer_account where account_id = '"+consumerId+"_6_0' ");
@@ -90,33 +93,30 @@ public class 账户余额清零 extends DuibaTestBase {
...
@@ -90,33 +93,30 @@ public class 账户余额清零 extends DuibaTestBase {
publicvoidb_扣款明细校验()throwsException{
publicvoidb_扣款明细校验()throwsException{
//获取数据库扣款记录
//获取数据库扣款记录
Map<String,Object>selectResult=jdbc.findSimpleResult("select * from consumer_account_log.tb_consumer_accounts_log where account_id = '"+consumerId+"_6_0' and biz_type=10");
Map<String,Object>selectResult=jdbc.findSimpleResult("select * from consumer_account_log.tb_consumer_accounts_log where account_id = '"+consumerId+"_6_0' and biz_type=10");