public interface PayOrderMapper
| Modifier and Type | Method and Description |
|---|---|
void |
deletePayOrder(String bizOrderId) |
PayOrder |
findPayOrder(PayOrder payOrder)
查找订单,查询条件为非空的参数(version、page_charset、notify_url、page_url除外)
|
Integer |
getCountByBizNoAndBizOrderId(String bizNo,
String bizOrderId) |
Integer |
getCountOfOrderRequestByphoneAndDate(String phone,
Date fromDate,
Date toDate)
获取用户一定日期内的订单请求总数(请求表记录总数)
|
Integer |
getCountOfOrderRequestByXunleiIdBizNoAndDate(String xunleiId,
String bizNo,
Date fromDate,
Date toDate)
获取用户一定日期内的订单请求总数(请求表记录总数)
|
PayOrder |
getPayOrder(String xunleiPayId)
通过迅雷支付号来查找请求订单信息
|
PayOrder |
getPayOrderByBizNoAndBizOrderId(String bizNo,
String bizOrderId) |
PayOrder |
getPayOrderByBizOrderId(String bizOrderId)
根据业务方唯一订单号获取订单
|
List<PayOrder> |
getPayOrderByCreateTime(String fromTime,
String toTime,
String[] status,
long id,
int limit)
获取createTime在fromTime到toTime之间的订单信息
|
List<PayOrder> |
getPayOrderByMinIdAndStatus(long id,
String[] status,
int limit)
获取大于id且订单状态为orderStatus数组中状态的所有订单信息
|
PayOrder |
getPayOrderByPayTypeAndChannelOrderId(String payType,
String channelOrderId)
通过第三方支付订单号获取订单
|
void |
savePayOrder(PayOrder payOrder)
保存到请求表
|
void |
updateBizExtByXunleiPayId(String bizExt,
String xunleiPayId)
更新订单的bizExt
|
void |
updateExtraJsonByXunleiPayId(String extraJson,
String xunleiPayId)
更新订单的json扩展参数
|
void |
updatePayOrder(PayOrder payOrder)
保存到请求表
|
void |
updatePayOrderExtraJsonAndChannelId(String xunleiPayId,
String extraJson,
String channelOrderId)
更新请求订单的extra字段和渠道支付号
|
void |
updatePayOrderStatusAndChannelId(String xunleiPayId,
String orderStatus,
String channelOrderId) |
void |
updatePayOrderStatusAndChannelIdAndExtraJson(String xunleiPayId,
String orderStatus,
String channelOrderId,
String extraJson) |
void |
updatePhoneByXunleiPayId(String xunleiPayId,
String phone)
更新请求订单的phone字段
|
void savePayOrder(PayOrder payOrder)
payOrder - void updatePayOrder(PayOrder payOrder)
payOrder - PayOrder getPayOrder(String xunleiPayId)
xunleiPayId - PayOrder getPayOrderByBizNoAndBizOrderId(String bizNo, String bizOrderId)
bizNo - bizOrderId - PayOrder getPayOrderByBizOrderId(String bizOrderId)
bizOrderId - 业务方未已订单号org.springframework.dao.DataAccessExceptionInteger getCountByBizNoAndBizOrderId(String bizNo, String bizOrderId)
bizNo - bizOrderId - void updatePayOrderStatusAndChannelId(String xunleiPayId, String orderStatus, String channelOrderId)
xunleiPayId - orderStatus - channelOrderId - void updatePayOrderStatusAndChannelIdAndExtraJson(String xunleiPayId, String orderStatus, String channelOrderId, String extraJson)
void deletePayOrder(String bizOrderId) throws org.springframework.dao.DataAccessException
bizOrderId - org.springframework.dao.DataAccessExceptionList<PayOrder> getPayOrderByMinIdAndStatus(long id, String[] status, int limit) throws org.springframework.dao.DataAccessException
id - status - org.springframework.dao.DataAccessExceptionList<PayOrder> getPayOrderByCreateTime(String fromTime, String toTime, String[] status, long id, int limit) throws org.springframework.dao.DataAccessException
fromTime - toTime - org.springframework.dao.DataAccessExceptionInteger getCountOfOrderRequestByXunleiIdBizNoAndDate(String xunleiId, String bizNo, Date fromDate, Date toDate)
xunleiId - 迅雷IdbizNo - 业务编号fromDate - 开始日期toDate - 结束日期Integer getCountOfOrderRequestByphoneAndDate(String phone, Date fromDate, Date toDate)
phone - 电话号码fromDate - 开始日期toDate - 结束日期PayOrder findPayOrder(PayOrder payOrder)
payOrder - void updateExtraJsonByXunleiPayId(String extraJson, String xunleiPayId)
extraJson - xunleiPayId - void updateBizExtByXunleiPayId(String bizExt, String xunleiPayId)
bizExt - 扩展参数xunleiPayId - void updatePayOrderExtraJsonAndChannelId(String xunleiPayId, String extraJson, String channelOrderId) throws org.springframework.dao.DataAccessException
xunleiPayId - channelOrderId - extraJson - org.springframework.dao.DataAccessExceptionPayOrder getPayOrderByPayTypeAndChannelOrderId(String payType, String channelOrderId) throws org.springframework.dao.DataAccessException
payType - channelOrderId - org.springframework.dao.DataAccessExceptionCopyright © 2016. All rights reserved.