@Service @Transactional public class TradeRefundService extends BaseService<TradeRefund>
限定符和类型 | 字段和说明 |
---|---|
private TradeRefundDao |
dao |
static int |
STATUS_CANCELLED |
static int |
STATUS_FAIL |
static int |
STATUS_PENDING |
static int |
STATUS_REFUNDED |
static int |
STATUS_REFUSE |
basedao, log
构造器和说明 |
---|
TradeRefundService() |
限定符和类型 | 方法和说明 |
---|---|
PageHandler |
getPage(java.lang.Short siteId,
java.lang.Long userId,
java.lang.Long paymentId,
java.lang.Long refundUserId,
java.lang.Integer status,
java.lang.String orderType,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
boolean |
refuseResund(short siteId,
long refundId,
java.lang.Long refundUserId,
java.lang.String reply) |
boolean |
updateAmound(long refundId,
long userId,
java.math.BigDecimal amount,
java.lang.String reason) |
boolean |
updateResund(short siteId,
long refundId,
java.math.BigDecimal refundAmount,
java.lang.String reply) |
boolean |
updateStatus(short siteId,
long refundId,
java.lang.Long refundUserId,
java.lang.Long userId,
int status) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
public static final int STATUS_PENDING
public static final int STATUS_REFUNDED
public static final int STATUS_CANCELLED
public static final int STATUS_REFUSE
public static final int STATUS_FAIL
private TradeRefundDao dao
@Transactional(readOnly=true) public PageHandler getPage(java.lang.Short siteId, java.lang.Long userId, java.lang.Long paymentId, java.lang.Long refundUserId, java.lang.Integer status, java.lang.String orderType, java.lang.Integer pageIndex, java.lang.Integer pageSize)
siteId
- userId
- paymentId
- refundUserId
- status
- orderType
- pageIndex
- pageSize
- @Transactional(isolation=READ_COMMITTED) public boolean updateAmound(long refundId, long userId, java.math.BigDecimal amount, java.lang.String reason)
refundId
- userId
- amount
- reason
- @Transactional(isolation=READ_COMMITTED) public boolean refuseResund(short siteId, long refundId, java.lang.Long refundUserId, java.lang.String reply)
siteId
- refundId
- refundUserId
- reply
- @Transactional(isolation=READ_COMMITTED) public boolean updateResund(short siteId, long refundId, java.math.BigDecimal refundAmount, java.lang.String reply)
siteId
- refundId
- refundAmount
- reply
- @Transactional(isolation=READ_COMMITTED) public boolean updateStatus(short siteId, long refundId, java.lang.Long refundUserId, java.lang.Long userId, int status)
siteId
- refundId
- refundUserId
- userId
- status
-