订单分账处理

This commit is contained in:
张松
2025-10-27 19:22:10 +08:00
parent 30f35128fd
commit cf492b32f1
16 changed files with 548 additions and 633 deletions

View File

@@ -107,4 +107,7 @@ public class UserInfo implements Serializable {
private LocalDateTime updateTime;
private Integer usePayPwd;
private String realName;
private String idCard;
}

View File

@@ -79,6 +79,7 @@ public class MkDistributionFlow implements Serializable {
* 奖励金额
*/
private BigDecimal rewardAmount;
private String billNo;
/**
* order订单 recharge充值
@@ -108,4 +109,7 @@ public class MkDistributionFlow implements Serializable {
private Long sourceShopUserId;
private String nickName;
private String resp;
private String packageInfo;
}

View File

@@ -14,5 +14,5 @@ import java.util.Map;
*/
public interface MkDistributionFlowService extends IService<MkDistributionFlow> {
Map<String, Object> pageInfo(Long shopId, LocalDateTime startTime, LocalDateTime endTime, String key, String status);
Map<String, Object> pageInfo(Long shopId, LocalDateTime startTime, LocalDateTime endTime, String key, String status, Long id);
}

View File

@@ -1,20 +0,0 @@
package com.czg.system.service;
import java.math.BigDecimal;
import java.util.Map;
/**
* 微信支付相关
* @author Administrator
*/
public interface WxService {
String getPhone(String code);
String getOpenId(String code);
Map<String, String> v3Pay(String openId, BigDecimal amount, String desc, String tradeNo, String type);
String decryptToString(String associatedData, String nonceStr, String ciphertext);
}

View File

@@ -65,7 +65,7 @@ public interface TableValueConstant {
enum Status {
PENDING("pending", "待入账"),
SUCCESS("sub", "已入账"),
SELF_RECHARGE("self_recharge", "自助充值");
SELF_RECHARGE("self_recharge", "自助充值"), FAIL("fail", "失败");
private final String code;
private final String msg;