类 TradeRefundService
java.lang.Object
com.publiccms.common.base.BaseService<TradeRefund>
com.publiccms.logic.service.trade.TradeRefundService
TradeRefundService
-
字段概要
字段修饰符和类型字段说明private TradeRefundDaostatic final intstatic final intstatic final intstatic final intstatic final int从类继承的字段 com.publiccms.common.base.BaseService
basedao, log -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getPage(Short siteId, Long userId, Long paymentId, Long refundUserId, Integer status, String orderType, Integer pageIndex, Integer pageSize) booleanrefuseResund(short siteId, long refundId, Long refundUserId, String reply) booleanupdateAmound(long refundId, long userId, BigDecimal amount, String reason) booleanupdateResund(short siteId, long refundId, BigDecimal refundAmount, String reply) booleanupdateStatus(short siteId, long refundId, Long refundUserId, Long userId, int status) 从类继承的方法 com.publiccms.common.base.BaseService
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
-
字段详细资料
-
STATUS_PENDING
public static final int STATUS_PENDING- 另请参阅:
-
STATUS_REFUNDED
public static final int STATUS_REFUNDED- 另请参阅:
-
STATUS_CANCELLED
public static final int STATUS_CANCELLED- 另请参阅:
-
STATUS_REFUSE
public static final int STATUS_REFUSE- 另请参阅:
-
STATUS_FAIL
public static final int STATUS_FAIL- 另请参阅:
-
dao
-
-
构造器详细资料
-
TradeRefundService
public TradeRefundService()
-
-
方法详细资料
-
getPage
@Transactional(readOnly=true) public PageHandler getPage(Short siteId, Long userId, Long paymentId, Long refundUserId, Integer status, String orderType, Integer pageIndex, Integer pageSize) - 参数:
siteId-userId-paymentId-refundUserId-status-orderType-pageIndex-pageSize-- 返回:
- results page
-
updateAmound
@Transactional(isolation=READ_COMMITTED) public boolean updateAmound(long refundId, long userId, BigDecimal amount, String reason) - 参数:
refundId-userId-amount-reason-- 返回:
-
refuseResund
@Transactional(isolation=READ_COMMITTED) public boolean refuseResund(short siteId, long refundId, Long refundUserId, String reply) - 参数:
siteId-refundId-refundUserId-reply-- 返回:
-
updateResund
@Transactional(isolation=READ_COMMITTED) public boolean updateResund(short siteId, long refundId, BigDecimal refundAmount, String reply) - 参数:
siteId-refundId-refundAmount-reply-- 返回:
-
updateStatus
@Transactional(isolation=READ_COMMITTED) public boolean updateStatus(short siteId, long refundId, Long refundUserId, Long userId, int status) - 参数:
siteId-refundId-refundUserId-userId-status-- 返回:
-