diff --git a/xhpc-modules/xhpc-payment/src/main/java/com/xhpc/payment/domain/XhpcRechargeOrder.java b/xhpc-modules/xhpc-payment/src/main/java/com/xhpc/payment/domain/XhpcRechargeOrder.java
index fd4bb4eb..ac7ff9d2 100644
--- a/xhpc-modules/xhpc-payment/src/main/java/com/xhpc/payment/domain/XhpcRechargeOrder.java
+++ b/xhpc-modules/xhpc-payment/src/main/java/com/xhpc/payment/domain/XhpcRechargeOrder.java
@@ -44,7 +44,7 @@ public class XhpcRechargeOrder extends BaseEntity {
private BigDecimal amount;
/**
- * 充值渠道(1微信 2支付宝)
+ * 充值渠道(1微信 2支付宝 3平台)
*/
private Integer type;
@@ -59,6 +59,11 @@ public class XhpcRechargeOrder extends BaseEntity {
*/
private Integer delFlag;
+ /**
+ * 订单来源(0 C端用户 1 流量方用户 2社区用户 3B端用户)
+ */
+ private Integer source;
+
public Long getRechargeOrderId() {
return rechargeOrderId;
}
@@ -130,4 +135,12 @@ public class XhpcRechargeOrder extends BaseEntity {
public void setRechargeOrderNumber(String rechargeOrderNumber) {
this.rechargeOrderNumber = rechargeOrderNumber;
}
+
+ public Integer getSource() {
+ return source;
+ }
+
+ public void setSource(Integer source) {
+ this.source = source;
+ }
}
diff --git a/xhpc-modules/xhpc-payment/src/main/java/com/xhpc/payment/domain/XhpcRefundOrder.java b/xhpc-modules/xhpc-payment/src/main/java/com/xhpc/payment/domain/XhpcRefundOrder.java
index cb0d6886..1e5ade8d 100644
--- a/xhpc-modules/xhpc-payment/src/main/java/com/xhpc/payment/domain/XhpcRefundOrder.java
+++ b/xhpc-modules/xhpc-payment/src/main/java/com/xhpc/payment/domain/XhpcRefundOrder.java
@@ -44,7 +44,7 @@ public class XhpcRefundOrder extends BaseEntity {
private BigDecimal amount;
/**
- * 退款渠道(1微信 2支付宝)
+ * 退款渠道(1微信 2支付宝 3平台)
*/
private Integer type;
@@ -63,6 +63,11 @@ public class XhpcRefundOrder extends BaseEntity {
*/
private Integer delFlag;
+ /**
+ * 订单来源(0 C端用户 1 流量方用户 2社区用户 3B端用户)
+ */
+ private Integer source;
+
public Long getRefundOrderId() {
return refundOrderId;
}
@@ -142,4 +147,12 @@ public class XhpcRefundOrder extends BaseEntity {
public void setExamineStatus(Integer examineStatus) {
this.examineStatus = examineStatus;
}
+
+ public Integer getSource() {
+ return source;
+ }
+
+ public void setSource(Integer source) {
+ this.source = source;
+ }
}
diff --git a/xhpc-modules/xhpc-payment/src/main/resources/mapper/XhpcRechargeOrderMapper.xml b/xhpc-modules/xhpc-payment/src/main/resources/mapper/XhpcRechargeOrderMapper.xml
index e32c9a90..a25f1d23 100644
--- a/xhpc-modules/xhpc-payment/src/main/resources/mapper/XhpcRechargeOrderMapper.xml
+++ b/xhpc-modules/xhpc-payment/src/main/resources/mapper/XhpcRechargeOrderMapper.xml
@@ -19,6 +19,7 @@
+
- remark
+ remark,
+
+
+ source
@@ -103,7 +107,10 @@
#{updateBy},
- #{remark}
+ #{remark},
+
+
+ #{source}
@@ -133,7 +140,7 @@