From 8edcff30943eddfdc695f2bd3d67ff55bc0c7c82 Mon Sep 17 00:00:00 2001
From: Wang YiHang <3060234389@qq.com>
Date: Mon, 7 Oct 2024 18:36:36 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=B7=BB=E5=8A=A0=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE=E6=BA=90=EF=BC=8C=E5=88=87=E6=8D=A2=E6=95=B0=E6=8D=AE?=
=?UTF-8?q?=E6=BA=90=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../cloud-modules-openbusiness-server/pom.xml | 5 ++
.../CloudOpenBusinessApplication.java | 1 +
.../muyu/openbusiness/feign/SystemFeign.java | 1 +
.../cloud-modules-openbusiness/pom.xml | 4 +-
.../main/resources/static/saas_operation.sql | 52 +++++++++++++++++++
5 files changed, 62 insertions(+), 1 deletion(-)
diff --git a/cloud-modules/cloud-modules-openbusiness/cloud-modules-openbusiness-server/pom.xml b/cloud-modules/cloud-modules-openbusiness/cloud-modules-openbusiness-server/pom.xml
index d7b03d3..fe556ac 100644
--- a/cloud-modules/cloud-modules-openbusiness/cloud-modules-openbusiness-server/pom.xml
+++ b/cloud-modules/cloud-modules-openbusiness/cloud-modules-openbusiness-server/pom.xml
@@ -111,6 +111,11 @@
cloud-common-system
+
+ org.springframework.cloud
+ spring-cloud-starter-openfeign
+
+
diff --git a/cloud-modules/cloud-modules-openbusiness/cloud-modules-openbusiness-server/src/main/java/com/muyu/openbusiness/CloudOpenBusinessApplication.java b/cloud-modules/cloud-modules-openbusiness/cloud-modules-openbusiness-server/src/main/java/com/muyu/openbusiness/CloudOpenBusinessApplication.java
index 4aeb9d4..c5d8137 100644
--- a/cloud-modules/cloud-modules-openbusiness/cloud-modules-openbusiness-server/src/main/java/com/muyu/openbusiness/CloudOpenBusinessApplication.java
+++ b/cloud-modules/cloud-modules-openbusiness/cloud-modules-openbusiness-server/src/main/java/com/muyu/openbusiness/CloudOpenBusinessApplication.java
@@ -14,6 +14,7 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
*
* @author muyu
*/
+//@EnableFeignClients
@EnableCustomConfig
@EnableMyFeignClients
@SpringBootApplication(
diff --git a/cloud-modules/cloud-modules-openbusiness/cloud-modules-openbusiness-server/src/main/java/com/muyu/openbusiness/feign/SystemFeign.java b/cloud-modules/cloud-modules-openbusiness/cloud-modules-openbusiness-server/src/main/java/com/muyu/openbusiness/feign/SystemFeign.java
index 72b89d6..5910690 100644
--- a/cloud-modules/cloud-modules-openbusiness/cloud-modules-openbusiness-server/src/main/java/com/muyu/openbusiness/feign/SystemFeign.java
+++ b/cloud-modules/cloud-modules-openbusiness/cloud-modules-openbusiness-server/src/main/java/com/muyu/openbusiness/feign/SystemFeign.java
@@ -4,6 +4,7 @@
//import com.muyu.common.system.remote.factory.RemoteUserFallbackFactory;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.GetMapping;
+//
//@FeignClient(name = "cloud-system",fallbackFactory = RemoteUserFallbackFactory.class)
//public interface SystemFeign {
// @GetMapping("/user/getInfo")
diff --git a/cloud-modules/cloud-modules-openbusiness/pom.xml b/cloud-modules/cloud-modules-openbusiness/pom.xml
index c05eb1e..bae1e50 100644
--- a/cloud-modules/cloud-modules-openbusiness/pom.xml
+++ b/cloud-modules/cloud-modules-openbusiness/pom.xml
@@ -8,7 +8,9 @@
cloud-modules
3.6.3
-
+
+ cloud-modules-openbusiness企业运营
+
cloud-modules-openbusiness
pom
diff --git a/cloud-modules/cloud-modules-system/src/main/resources/static/saas_operation.sql b/cloud-modules/cloud-modules-system/src/main/resources/static/saas_operation.sql
index 97438ae..542944d 100644
--- a/cloud-modules/cloud-modules-system/src/main/resources/static/saas_operation.sql
+++ b/cloud-modules/cloud-modules-system/src/main/resources/static/saas_operation.sql
@@ -177,6 +177,58 @@ CREATE TABLE `sys_message_type` (
`message_class` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '报文字段类型',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 47 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '车辆报文类型表' ROW_FORMAT = Dynamic;
+-- ----------------------------
+-- Records of sys_message_type
+-- ----------------------------
+INSERT INTO `sys_message_type` VALUES (1, 'vin', 'VIN码', 'identification', 'String');
+INSERT INTO `sys_message_type` VALUES (2, 'timestamp', '时间戳', 'identification', 'String');
+INSERT INTO `sys_message_type` VALUES (3, 'longitude', '经度', 'identification', 'String');
+INSERT INTO `sys_message_type` VALUES (4, 'latitude', '纬度', 'identification', 'String');
+INSERT INTO `sys_message_type` VALUES (5, 'speed', '车速', 'identification', 'String');
+INSERT INTO `sys_message_type` VALUES (6, 'TM', '总里程', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (7, 'TV', '总电压', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (8, 'CC', '总电流', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (9, 'IR', '绝缘电阻', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (10, 'GP', '档位', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (11, 'APTV', '加速踏板行程值', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (12, 'BPTV', '制动踏板行程值', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (13, 'SFC', '燃料消耗率', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (14, 'MCT', '电机控制器温度', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (15, 'MS', '电机转速', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (16, 'MTO', '电机转矩', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (17, 'MTE', '电机温度', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (18, 'MV', '电机电压', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (19, 'MC', '电机电流', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (20, 'PBRSOC', '动力电池剩余电量SOC', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (21, 'MACSFP', '当前状态允许的最大反馈功率', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (22, 'CSATMDP', '当前状态允许最大放电功率', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (23, 'BMS', 'BMS自检计数器', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (24, 'CADC', '动力电池充放电电流', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (25, 'PBLETVV3', '动力电池负载端总电压V3', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (26, 'SMV', '单次最大电压', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (27, 'MVOAB', '单体电池最低电压', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (28, 'MAXBT', '单体电池最高温度', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (29, 'MINBT', '单体电池最低温度', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (30, 'PBAC', '动力电池可用容量', 'information', 'String');
+INSERT INTO `sys_message_type` VALUES (31, 'VS', '车辆状态', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (32, 'CS', '充电状态', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (33, 'RS', '运行状态', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (34, 'SOC', 'SOC', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (35, 'RESDWC', '可充电储能装置工作状态', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (36, 'EAS', 'EAS', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (37, 'PTC', 'PTC', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (38, 'EPS', 'EPS', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (39, 'ABS', 'ABS', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (40, 'MCU', 'MCU', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (41, 'PBHS', '动力电池加热状态', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (42, 'PBCS', '动力电池当前状态', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (43, 'PBIS', '动力电池保温状态', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (44, 'DCDC', 'DCDC', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (45, 'CHG', 'CHG', 'status', 'String');
+INSERT INTO `sys_message_type` VALUES (46, 'CHB', '校验位', NULL, 'String');
+INSERT INTO `sys_message_type` VALUES (47, 'CUB', '截止位', NULL, 'String');
+
+SET FOREIGN_KEY_CHECKS = 1;
-- ----------------------------
-- Table structure for warn_logs