|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface PayOrderDAO
操作订单表的方法,注意:订单表不移表,里面包含成功订单和失败订单
| 方法摘要 | |
|---|---|
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.DataAccessException
PayOrder getPayOrder(String xunleiPayId)
throws org.springframework.dao.DataAccessException
xunleiPayId -
org.springframework.dao.DataAccessException
void 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.DataAccessException
int getCountByBizNoAndBizOrderId(String bizNo,
String bizOrderId)
throws org.springframework.dao.DataAccessException
bizNo - bizOrderId -
org.springframework.dao.DataAccessException
void updatePayOrderStatusAndChannelId(String xunleiPayId,
String orderStatus,
String channelOrderId)
throws org.springframework.dao.DataAccessException
xunleiPayId - channelOrderId - orderStatus -
org.springframework.dao.DataAccessException
void updatePayOrderStatusAndChannelIdAndExtraJson(String xunleiPayId,
String orderStatus,
String channelOrderId,
String extraJson)
throws org.springframework.dao.DataAccessException
xunleiPayId - channelOrderId - orderStatus -
org.springframework.dao.DataAccessException
List<PayOrder> getPayOrderByMinIdAndStatus(long id,
String[] status,
int limit)
throws org.springframework.dao.DataAccessException
id - orderStatus -
org.springframework.dao.DataAccessException
List<PayOrder> getPayOrderByCreateTime(String fromTime,
String toTime,
String[] status,
long id,
int limit)
throws org.springframework.dao.DataAccessException
fromTime - toTime -
org.springframework.dao.DataAccessException
int 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.DataAccessException
PayOrder getPayOrderByPayTypeAndChannelOrderId(String payType,
String channelOrderId)
throws org.springframework.dao.DataAccessException
payType - 支付类型channelOrderId - 渠道订单号
org.springframework.dao.DataAccessException
void updatePhoneByXunleiPayId(String xunleiPayId,
String phone)
xunleiPayId - phone -
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||