分销订单退款
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.czg.market.service;
|
||||
|
||||
import com.czg.account.entity.UserInfo;
|
||||
import com.czg.constant.TableValueConstant;
|
||||
import com.czg.market.dto.MkDistributionUserDTO;
|
||||
import com.czg.market.dto.MkDistributionWithdrawFlowDTO;
|
||||
import com.czg.market.entity.MkDistributionUser;
|
||||
@@ -113,7 +114,9 @@ public interface MkDistributionUserService extends IService<MkDistributionUser>
|
||||
*/
|
||||
void rechargeCallBack(Long shopId, BigDecimal amount, Long paymentId);
|
||||
|
||||
BigDecimal updateShopInfoAmount(Long shopId, BigDecimal changeAmount, Long sourceId);
|
||||
BigDecimal updateShopInfoAmount(Long shopId, BigDecimal changeAmount, Long sourceId, TableValueConstant.DistributionAmountFlow.Type type, String remark);
|
||||
|
||||
void refund(String orderNo);
|
||||
|
||||
/**
|
||||
* 发放分销奖励
|
||||
|
||||
@@ -45,6 +45,7 @@ public interface TableValueConstant {
|
||||
@Getter
|
||||
enum Type {
|
||||
MANUAL_RECHARGE("manual_recharge", "手动充值"),
|
||||
REFUND("refund", "退款"),
|
||||
SUB("sub", "系统扣减"),
|
||||
OPEN("open", "分销员购买"),
|
||||
MANUAL_SUB("manual_sub", "手动扣减"),
|
||||
|
||||
Reference in New Issue
Block a user