From 792cbb986fb8c32f6bbc1638c4ae264372e7a28f Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期四, 23 一月 2025 19:31:36 +0800
Subject: [PATCH] 新增引流接口及业务逻辑

---
 ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TGoods.java |   25 ++++++++++++-------------
 1 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TGoods.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TGoods.java
index f4666eb..120fefe 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TGoods.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TGoods.java
@@ -1,6 +1,7 @@
 package com.ruoyi.other.api.domain;
 
 import com.baomidou.mybatisplus.annotation.*;
+import com.ruoyi.common.core.web.domain.BasePojo;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
@@ -22,7 +23,7 @@
 @EqualsAndHashCode(callSuper = false)
 @TableName("t_goods")
 @ApiModel(value="TGoods对象", description="")
-public class TGoods implements Serializable {
+public class TGoods extends BasePojo {
 
     private static final long serialVersionUID = 1L;
 
@@ -83,29 +84,27 @@
     private Integer underlyingSales;
 
     @ApiModelProperty(value = "商品描述")
-    @TableField("describe")
-    private String describe;
+    @TableField("describes")
+    private String describes;
 
     @ApiModelProperty(value = "商品介绍")
     @TableField("introduce")
     private String introduce;
 
     @ApiModelProperty(value = "商品说明")
-    @TableField("explain")
-    private String explain;
+    @TableField("explains")
+    private String explains;
 
     @ApiModelProperty(value = "状态(1=上架,2=下架)")
     @TableField("status")
     private Integer status;
 
-    @ApiModelProperty(value = "添加时间")
-    @TableField("create_time")
-    private LocalDateTime createTime;
 
-    @ApiModelProperty(value = "删除(0=否,1=是)")
-    @TableField("del_flag")
-    @TableLogic
-    private Integer delFlag;
-
+    @ApiModelProperty(value = "销量")
+    @TableField(exist = false)
+    private Integer salesCount;
+    @ApiModelProperty(value = "1商品2优惠卷")
+    @TableField(exist = false)
+    private Integer goodType;
 
 }

--
Gitblit v1.7.1