更新会员成长值 不对
订单退款 全额 部分 问题
This commit is contained in:
@@ -17,4 +17,9 @@ public interface MkPointsConfigService extends IService<MkPointsConfig> {
|
||||
*
|
||||
*/
|
||||
void consumeAwardPoints(ShopUser shopUser, OrderInfo orderInfo);
|
||||
|
||||
/**
|
||||
* 订单退款成功,通过计算 给用户赠送积分
|
||||
*/
|
||||
void removeConsumeAwardPoints(Long shopId, Long userId, Long orderId, String orderNo);
|
||||
}
|
||||
|
||||
@@ -48,4 +48,9 @@ public interface MkPointsUserService extends IService<MkPointsUser> {
|
||||
*/
|
||||
Long alterPoints(Long userId, Long shopUserId, @NotNull Long shopId, @NotNull PointsConstant floatType,
|
||||
@NotNull Integer points, Long sourceId, @NotBlank String reason);
|
||||
|
||||
/**
|
||||
* 订单退款 赠送的积分 扣除
|
||||
*/
|
||||
void removePointByOrder(Long shopId, Long userId, Long orderId, String orderNo, String reason);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user