diff --git a/newstock-system/src/main/java/com/ruoyi/newstocksystem/domain/TTrends.java b/newstock-system/src/main/java/com/ruoyi/newstocksystem/domain/TTrends.java
index b98b467..348143c 100644
--- a/newstock-system/src/main/java/com/ruoyi/newstocksystem/domain/TTrends.java
+++ b/newstock-system/src/main/java/com/ruoyi/newstocksystem/domain/TTrends.java
@@ -7,7 +7,6 @@ import java.util.Date;
/**
* 趋势对象 t_trends
- * 注意:由于该表是分区表,不支持外键约束,但业务逻辑中仍需确保eastmoney_industry_code在t_industry_index_basic表中存在
*
* @author lxy
* @date 2026-01-21
@@ -27,14 +26,6 @@ public class TTrends extends BaseEntity
/** 行业名称(关联t_industry_basic表) */
@Excel(name = "行业名称")
private String industryName;
-
- /** 所属东财行业代码 */
- @Excel(name = "东财行业代码")
- private String eastmoneyIndustryCode;
-
- /** 所属东财行业名称 */
- @Excel(name = "东财行业名称")
- private String eastmoneyIndustryName;
/** 动量个股数量 */
@Excel(name = "动量个股数量")
@@ -97,26 +88,6 @@ public class TTrends extends BaseEntity
{
this.industryName = industryName;
}
-
- public String getEastmoneyIndustryCode()
- {
- return eastmoneyIndustryCode;
- }
-
- public void setEastmoneyIndustryCode(String eastmoneyIndustryCode)
- {
- this.eastmoneyIndustryCode = eastmoneyIndustryCode;
- }
-
- public String getEastmoneyIndustryName()
- {
- return eastmoneyIndustryName;
- }
-
- public void setEastmoneyIndustryName(String eastmoneyIndustryName)
- {
- this.eastmoneyIndustryName = eastmoneyIndustryName;
- }
public Double getStocksCount()
{
@@ -203,8 +174,7 @@ public class TTrends extends BaseEntity
return "TTrends{" +
"id=" + id +
", tradeDate=" + tradeDate +
- ", eastmoneyIndustryCode='" + eastmoneyIndustryCode + '\'' +
- ", eastmoneyIndustryName='" + eastmoneyIndustryName + '\'' +
+ ", industryName='" + industryName + '\'' +
", stocksCount=" + stocksCount +
", trendValue=" + trendValue +
", trendValueChange=" + trendValueChange +
diff --git a/newstock-system/src/main/resources/mapper/newstocksystem/TTrendsMapper.xml b/newstock-system/src/main/resources/mapper/newstocksystem/TTrendsMapper.xml
index e0f49a2..867467f 100644
--- a/newstock-system/src/main/resources/mapper/newstocksystem/TTrendsMapper.xml
+++ b/newstock-system/src/main/resources/mapper/newstocksystem/TTrendsMapper.xml
@@ -8,8 +8,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
-
@@ -21,7 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- select id, trade_date, industry_name, eastmoney_industry_code, eastmoney_industry_name, stocks_count, trend_value, trend_value_change, rank, rank_change, momentum_type, create_time, update_time from t_trends
+ select id, trade_date, industry_name, stocks_count, trend_value, trend_value_change, `rank`, `rank_change`, momentum_type, create_time, update_time from t_trends