From 85ed5ccbecbcb6e129fb9e5d08c9f7feb157a29c Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期一, 15 十二月 2025 11:35:43 +0800
Subject: [PATCH] 后台接口

---
 ruoyi-system/src/main/java/com/ruoyi/system/model/TBigGiftPackageOrder.java |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/model/TBigGiftPackageOrder.java b/ruoyi-system/src/main/java/com/ruoyi/system/model/TBigGiftPackageOrder.java
index 6ade075..eb32f6b 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/model/TBigGiftPackageOrder.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/model/TBigGiftPackageOrder.java
@@ -1,6 +1,8 @@
 package com.ruoyi.system.model;
 
 import java.math.BigDecimal;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
 import com.baomidou.mybatisplus.annotation.TableName;
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableId;
@@ -34,6 +36,7 @@
 
     @ApiModelProperty(value = "订单编号")
     @TableField("code")
+    @Excel(name = "订单编号")
     private String code;
 
     @ApiModelProperty(value = "所属公司")
@@ -46,6 +49,7 @@
 
     @ApiModelProperty(value = "下单时间")
     @TableField("create_time")
+    @Excel(name = "下单时间", format = "yyyy-MM-dd HH:mm:ss")
     private LocalDateTime createTime;
 
     @ApiModelProperty(value = "大礼包id")
@@ -58,14 +62,17 @@
 
     @ApiModelProperty(value = "订单价格")
     @TableField("order_price")
+    @Excel(name = "订单价格")
     private BigDecimal orderPrice;
 
     @ApiModelProperty(value = "支付订金")
     @TableField("deposit")
+    @Excel(name = "定金")
     private BigDecimal deposit;
 
     @ApiModelProperty(value = "支付尾款")
     @TableField("final_payment")
+    @Excel(name = "尾款")
     private BigDecimal finalPayment;
 
     @ApiModelProperty(value = "支付金额")
@@ -90,7 +97,8 @@
 
     @ApiModelProperty(value = "订金付款方式(1=微信)")
     @TableField("deposit_payment_method")
-    private Integer depositPaymentMethod;
+    @Excel(name = "订金付款方式",replace = {"微信_1"})
+    private Integer depositPaymentMethod=1;
 
     @ApiModelProperty(value = "订金付款流水号")
     @TableField("deposit_payment_serial_number")
@@ -120,13 +128,17 @@
 
 
 
-    @ApiModelProperty(value = "用户手机号")
-    @TableField(exist = false)
-    private String phone;
 
     @ApiModelProperty(value = "下单用户")
     @TableField(exist = false)
+    @Excel(name = "下单用户")
     private String userName;
+
+
+    @ApiModelProperty(value = "用户手机号")
+    @TableField(exist = false)
+    @Excel(name = "用户手机号")
+    private String phone;
 
     @ApiModelProperty(value = "直接营销员")
     @TableField(exist = false)
@@ -142,10 +154,12 @@
 
     @ApiModelProperty(value = "商品名称")
     @TableField(exist = false)
+    @Excel(name = "商品名称")
     private String bigGiftPackageName;
 
     @ApiModelProperty(value = "审核状态1=待审核,2=审核通过,3=审核驳回")
     @TableField(exist = false)
+    @Excel(name = "审核状态",replace = {"待审核_1","已通过_2","已驳回_3"})
     private Integer auditStatus;
 
     @ApiModelProperty(value = "商品封面")

--
Gitblit v1.7.1