public interface PayOrderDAO
| Modifier and Type | Method and Description |
|---|---|
int |
getCountByBizNoAndBizOrderId(String bizNo,
String bizOrderId) |
int |
getCountOfOrderRequestByXunleiIdBizNoAndDate(String xunleiId,
String bizNo,
Date fromDate,
Date toDate)
获取用户一定日期内的订单请求总数(请求表记录总数)
|
PayOrder |
getPayOrder(String xunleiPayId)
通过xunleiPayId获得请求订单的实体
|
PayOrder |
getPayOrderByBizNoAndBizOrderId(String bizNo,
String bizOrderId) |
List<PayOrder> |
getPayOrderByCreateTime(String fromTime,
String toTime,
String[] status,
long id,
int limit)
获取createTime在fromTime到toTime之间且大于id的订单信息 按id升序排列
|
List<PayOrder> |
getPayOrderByMinIdAndStatus(long id,
String[] status,
int limit)
获取大于id且订单状态为orderStatus数组中状态的所有订单信息 使用id升序排列
|
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 |
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)
更新请求订单的支付状态,渠道支付号及extraJson
|
void |
updatePhoneByXunleiPayId(String xunleiPayId,
String phone)
更新请求订单的phone字段
|
void savePayOrder(PayOrder payOrder) throws org.springframework.dao.DataAccessException
payOrder - org.springframework.dao.DataAccessExceptionPayOrder getPayOrder(String xunleiPayId) throws org.springframework.dao.DataAccessException
xunleiPayId - org.springframework.dao.DataAccessExceptionvoid updateExtraJsonByXunleiPayId(String extraJson, String xunleiPayId)
extraJson - xunleiPayId - void updateBizExtByXunleiPayId(String bizExt, String xunleiPayId)
bizExt - 扩展参数xunleiPayId - PayOrder getPayOrderByBizNoAndBizOrderId(String bizNo, String bizOrderId) throws org.springframework.dao.DataAccessException
bizNo - bizOrderId - org.springframework.dao.DataAccessExceptionint getCountByBizNoAndBizOrderId(String bizNo, String bizOrderId) throws org.springframework.dao.DataAccessException
bizNo - bizOrderId - org.springframework.dao.DataAccessExceptionvoid updatePayOrderStatusAndChannelId(String xunleiPayId, String orderStatus, String channelOrderId) throws org.springframework.dao.DataAccessException
xunleiPayId - channelOrderId - orderStatus - org.springframework.dao.DataAccessExceptionvoid updatePayOrderStatusAndChannelIdAndExtraJson(String xunleiPayId, String orderStatus, String channelOrderId, String extraJson) throws org.springframework.dao.DataAccessException
xunleiPayId - channelOrderId - orderStatus - org.springframework.dao.DataAccessExceptionList<PayOrder> getPayOrderByMinIdAndStatus(long id, String[] status, int limit) throws org.springframework.dao.DataAccessException
id - orderStatus - 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.DataAccessExceptionint getCountOfOrderRequestByXunleiIdBizNoAndDate(String xunleiId, String bizNo, Date fromDate, Date toDate)
xunleiId - 迅雷IdbizNo - 业务编号fromDate - 开始日期toDate - 结束日期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.