• 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 request
    2014-10-29 17:17:06,753 DEBUG [Timer-0]
    
    
    # 12049292014112001   20141029171529  新的payId
    # 12049292014112000   20141029170858  旧的payId
    
    payInfo.getPayId()
    payInfo.getPayTime()
    payInfo.getPayTimeout()
    
    
    //同步更新payInfo信息  141029
    transPayMapper.updateTransPayInfo(orderNo, 3, transType, Long.valueOf(payInfo.getPayId()), Long.valueOf(payInfo.getPayTime()));
    
    pay_id=49009692014112000,
    pay_time=20141029193935,      490096920141
    
    trans_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: 1
    
    1分钟的定时任务成功:
    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
  • 相关阅读:
    jquery操作select(取值,设置选中)
    POST 服务测试PHP页面
    Web开发者不容错过的20段CSS代码(二)
    Web开发者不容错过的20段CSS代码(一)
    Word排版技巧
    需求分析的故事——如何练就需求分析的火眼金晴?
    如何来书写需求说明书
    Struts配置文件阐释
    做需求要会问为什么和需求场景
    跑通并调试第一个Java Struts程序
  • 原文地址:https://www.cnblogs.com/simpledev/p/4060603.html
Copyright © 2020-2023  润新知