首页 > 代码库 > 141029 V7 异步通知测试,15分钟循环代码重构,同步更新payInfo测试,支付成功timer测试成功说明

141029 V7 异步通知测试,15分钟循环代码重构,同步更新payInfo测试,支付成功timer测试成功说明

支付成功之后的1分钟定时任务:测试成功。2014-10-29 17:16:06,892 DEBUG [http-bio-8086-exec-1] org.springframework.web.servlet.DispatcherServlet.FrameworkServlet#processRequest [FrameworkServlet.java:991] Successfully completed request2014-10-29 17:17:06,753 DEBUG [Timer-0]# 12049292014112001   20141029171529  新的payId# 12049292014112000   20141029170858  旧的payIdpayInfo.getPayId()payInfo.getPayTime()payInfo.getPayTimeout()//同步更新payInfo信息  141029transPayMapper.updateTransPayInfo(orderNo, 3, transType, Long.valueOf(payInfo.getPayId()), Long.valueOf(payInfo.getPayTime()));pay_id=49009692014112000,pay_time=20141029193935,      490096920141trans_id=49009692014112000,trans_time=20141029193935     490096920141首次更新的记录数为0:2014-10-29 19:40:08,341 DEBUG [http-bio-8086-exec-7] org.logicalcobwebs.proxool.null.AbstractProxyStatement#trace [AbstractProxyStatement.java:185] UPDATE `trans_pay` SET trans_id=49009692014112000,trans_time=20141029193935          WHERE order_no=490096920141 AND pay_kind=1 AND trans_type=‘02‘;  (0 milliseconds)2014-10-29 19:40:08,341 DEBUG [http-bio-8086-exec-7] com.autoyol.mapper.TransPayMapper.updateTransPayInfo.BaseJdbcLogger#debug [BaseJdbcLogger.java:139] <==    Updates: 0同步更新payInfo成功:2014-10-29 19:55:57,400 DEBUG [http-bio-8086-exec-7] org.logicalcobwebs.proxool.null.AbstractProxyStatement#trace [AbstractProxyStatement.java:185] UPDATE `trans_pay` SET trans_id=60548592014131001,trans_time=20141029195557          WHERE order_no=605485920141 AND pay_kind=3 AND trans_type=‘01‘;  (0 milliseconds)2014-10-29 19:55:57,400 DEBUG [http-bio-8086-exec-7] com.autoyol.mapper.TransPayMapper.updateTransPayInfo.BaseJdbcLogger#debug [BaseJdbcLogger.java:139] <==    Updates: 11分钟的定时任务成功:2014-10-29 20:08:06,975 DEBUG [http-bio-8086-exec-4] 2014-10-29 20:09:06,936 DEBUG [Timer-1]不点击“知道了”,点击手机返回按钮,仍然会调用该接口。 测试完成。 Looking up handler method for path /trans/v7/payResult

 

141029 V7 异步通知测试,15分钟循环代码重构,同步更新payInfo测试,支付成功timer测试成功说明