public interface PayOrderOkDAO
| Modifier and Type | Method and Description |
|---|---|
int |
getCountByPhoneBizNoAndDate(String phone,
String bizNo,
Date fromDate,
Date toDate)
根据手机号、业务号、开始日期、结束日期查询订单数量
|
int |
getCountByXunleiIdBizNoAndDate(String xunleiId,
String bizNo,
Date fromDate,
Date toDate)
帐号内一定时间内的成功次数
|
PayOrderOk |
getFirstPayOrderOkByXunleiIdAndPayType(String xunleiId,
String payType)
根据xunleiId获取第一次使用payType支付的成功订单
|
PayOrderOk |
getLastPayOrderOkByXunleiIdAndPayType(String xunleiId,
String payType)
根据xunleiId获取最后一次使用payType支付的有channelOrderId的成功订单
|
PayOrderOk |
getPayOrderOk(String xunleiPayId)
通过xunleiPayId获得请求订单的实体
|
PayOrderOk |
getPayOrderOkByBizNoAndBizOrderId(String bizNo,
String bizOrderId) |
PayOrderOk |
getPayOrderOkByBizOrderId(String bizOrderId)
根据业务方唯一订单号获取成功订单
|
PayOrderOk |
getPayOrderOkByPayTypeAndChannelOrderId(String payType,
String channelOrderId) |
String |
getPayOrderOkSendNoticeStatus(String xunleiPayId)
得到成功订单表里的send_notice_status值
|
long |
getSumOfOrderByXunleiIdAndDate(String xunleiId,
Date fromDate,
Date toDate)
获取用户一定日期内的订单金额
|
long |
getSumOfOrderByXunleiIdPayTypeAndDate(String xunleiId,
String payType,
Date fromDate,
Date toDate)
获取用户一定日期内支付类型的订单金额
|
int |
getSumPayAmountByXunleiIdBizNoAndDate(String xunleiId,
String bizNo,
Date fromDate,
Date toDate)
获取用户一定日期内的成功订单总金额(必须以分为单位)
|
List<String> |
listUnsuccessNoticeXunleiPayId(Date fromTime,
Date endTime) |
void |
savePayOrderOk(PayOrderOk payOrderOk)
保存请求订单信息到数据库
|
void |
updatePayOrderOk(PayOrderOk payOrderOk)
更新请求订单
|
void |
updateSendNoticeStatus(String xunleiPayId,
String sendNoticeStatus)
更新send_notice_status值
|
void savePayOrderOk(PayOrderOk payOrderOk) throws org.springframework.dao.DataAccessException
biz - org.springframework.dao.DataAccessExceptionvoid updatePayOrderOk(PayOrderOk payOrderOk) throws org.springframework.dao.DataAccessException
payOrderOk - org.springframework.dao.DataAccessExceptionPayOrderOk getPayOrderOk(String xunleiPayId) throws org.springframework.dao.DataAccessException
xunleiPayId - org.springframework.dao.DataAccessExceptionPayOrderOk getPayOrderOkByBizNoAndBizOrderId(String bizNo, String bizOrderId) throws org.springframework.dao.DataAccessException
bizNo - bizOrderId - org.springframework.dao.DataAccessExceptionPayOrderOk getPayOrderOkByBizOrderId(String bizOrderId)
bizOrderId - String getPayOrderOkSendNoticeStatus(String xunleiPayId) throws org.springframework.dao.DataAccessException
xunleiPayId - org.springframework.dao.DataAccessExceptionvoid updateSendNoticeStatus(String xunleiPayId, String sendNoticeStatus) throws org.springframework.dao.DataAccessException
xunleiPayId - sendNoticeStatus - org.springframework.dao.DataAccessExceptionList<String> listUnsuccessNoticeXunleiPayId(Date fromTime, Date endTime) throws org.springframework.dao.DataAccessException
fromTime - endTime - org.springframework.dao.DataAccessExceptionint getCountByPhoneBizNoAndDate(String phone, String bizNo, Date fromDate, Date toDate) throws org.springframework.dao.DataAccessException
phone - 手机号bizNo - 业务号fromDate - 开始日期toDate - 结束日期org.springframework.dao.DataAccessExceptionint getSumPayAmountByXunleiIdBizNoAndDate(String xunleiId, String bizNo, Date fromDate, Date toDate) throws org.springframework.dao.DataAccessException
xunleiId - 迅雷idbizNo - 业务编号fromDate - 开始日期toDate - 结束日期org.springframework.dao.DataAccessExceptionint getCountByXunleiIdBizNoAndDate(String xunleiId, String bizNo, Date fromDate, Date toDate) throws org.springframework.dao.DataAccessException
xunleiId - 迅雷IdbizNo - 业务编号fromDate - 开始日期toDate - 结束日期org.springframework.dao.DataAccessExceptionPayOrderOk getPayOrderOkByPayTypeAndChannelOrderId(String payType, String channelOrderId) throws org.springframework.dao.DataAccessException
org.springframework.dao.DataAccessExceptionPayOrderOk getFirstPayOrderOkByXunleiIdAndPayType(String xunleiId, String payType) throws org.springframework.dao.DataAccessException
xunleiId - 迅雷IdpayType - 支付方式PayOrderOkorg.springframework.dao.DataAccessExceptionPayOrderOk getLastPayOrderOkByXunleiIdAndPayType(String xunleiId, String payType) throws org.springframework.dao.DataAccessException
xunleiId - 迅雷IdpayType - 支付方式PayOrderOkorg.springframework.dao.DataAccessExceptionlong getSumOfOrderByXunleiIdAndDate(String xunleiId, Date fromDate, Date toDate)
xunleiId - 迅雷IDfromDate - 开始日期toDate - 结束日期LongCopyright © 2016. All rights reserved.