Merge branch 'dev/dev_xp' into dev/dev

This commit is contained in:
2025-04-28 14:53:04 +08:00
16 changed files with 200 additions and 21 deletions

View File

@@ -14,6 +14,8 @@ public class Affiliate extends BaseEntity{
// Active活跃 || Inactive过期 || Pending待审批 || Refused(拒绝)
private String status;
private Float commissionPercent;
private Float totalEarnings = 0.00F;
private Float monthlyEarnings = 0.00F;

View File

@@ -22,6 +22,8 @@ public class PaymentInfo extends BaseEntity{
* paid and liquidated means the refund request has been executed.
* expired means the request has been rejected.
* wait means the request is still under processing.
* -------------------------------------------------
* 退款Partial refund 部分退款; Refunded 全部退款
*/
private String tradeState;//交易状态

View File

@@ -1,5 +1,7 @@
package com.ai.da.mapper.primary.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
@@ -37,6 +39,9 @@ public class ProductCoupons extends BaseEntity{
// 备注
private String remark;
@TableLogic
private Integer isDeleted;
public ProductCoupons(String couponId, Long redeemBy, String promotionCodeId, String promotionCode, Long maxRedemptions, float percentOff, float commissionRate, String cooperator, String remark) {
this.couponId = couponId;
this.redeemBy = redeemBy;

View File

@@ -13,11 +13,14 @@ public class RefundInfo extends BaseEntity{
private String refundId;//支付系统退款单号(微信)
// 退款必定对应一次具体的收费款项
private String chargeId;
// private Integer totalFee;//原订单金额(分)
private Float totalFee;//原订单金额(分)
// private Integer refund;//退款金额(分)
private Float refund;//退款金额()
private Float refund;//退款金额()
private String reason;//退款原因