update pay_details set `state`=#{state}, pay_time=#{time}, trade_no=#{tradeNo}, third_order_no=#{thirdOrderNo} where id = #{id}