/*
 Navicat Premium Dump SQL

 Source Server         : 192.168.0.222
 Source Server Type    : MySQL
 Source Server Version : 80031 (8.0.31)
 Source Host           : 192.168.0.222:3306
 Source Schema         : ry_refactor0120

 Target Server Type    : MySQL
 Target Server Version : 80031 (8.0.31)
 File Encoding         : 65001

 Date: 24/01/2026 14:49:00
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for trends
-- ----------------------------
DROP TABLE IF EXISTS `trends`;
CREATE TABLE `trends`  (
  `id` double NOT NULL AUTO_INCREMENT,
  `trade_day` date NULL DEFAULT NULL COMMENT '交易日期',
  `blemind2` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '所属东财行业指数2级',
  `stocks_count` decimal(50, 2) NULL DEFAULT -1.00 COMMENT '动量个股数量',
  `trend_value` decimal(50, 2) NULL DEFAULT -1.00 COMMENT '动量值',
  `trend_value_change` decimal(50, 2) NULL DEFAULT -1.00 COMMENT '动量值变化',
  `sort` int NULL DEFAULT -1 COMMENT '板块排名',
  `sort_change` int NULL DEFAULT -1 COMMENT '板块排名变化',
  `type` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '动量数据类型',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 449078 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '动量结果' ROW_FORMAT = DYNAMIC;

SET FOREIGN_KEY_CHECKS = 1;
