|
@@ -0,0 +1,56 @@
|
|
|
|
+/*
|
|
|
|
+ Navicat Premium Data Transfer
|
|
|
|
+
|
|
|
|
+ Source Server : localhost_3306
|
|
|
|
+ Source Server Type : MySQL
|
|
|
|
+ Source Server Version : 80028
|
|
|
|
+ Source Host : localhost:3306
|
|
|
|
+ Source Schema : ipfcst-v3
|
|
|
|
+
|
|
|
|
+ Target Server Type : MySQL
|
|
|
|
+ Target Server Version : 80028
|
|
|
|
+ File Encoding : 65001
|
|
|
|
+
|
|
|
|
+ Date: 16/08/2022 10:06:08
|
|
|
|
+*/
|
|
|
|
+
|
|
|
|
+SET NAMES utf8mb4;
|
|
|
|
+SET FOREIGN_KEY_CHECKS = 0;
|
|
|
|
+
|
|
|
|
+-- ----------------------------
|
|
|
|
+-- Table structure for t_calculation_formula
|
|
|
|
+-- ----------------------------
|
|
|
|
+DROP TABLE IF EXISTS `t_calculation_formula`;
|
|
|
|
+CREATE TABLE `t_calculation_formula` (
|
|
|
|
+ `ID` int(0) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `TYPE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
|
|
+ `ORDER` int(0) NULL DEFAULT NULL,
|
|
|
|
+ `FORMULA` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
|
|
|
|
+ `PROVINCE_ENUM` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
|
|
+ `STATE` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
|
|
+ `CREATE_TIME` datetime(0) NULL DEFAULT NULL,
|
|
|
|
+ `CREATOR` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
|
|
+ `LAST_MODIFIER` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
|
|
|
+ `LAST_MODIFY_TIME` datetime(0) NULL DEFAULT NULL,
|
|
|
|
+ PRIMARY KEY (`ID`) USING BTREE
|
|
|
|
+) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
|
|
|
+
|
|
|
|
+-- ----------------------------
|
|
|
|
+-- Records of t_calculation_formula
|
|
|
|
+-- ----------------------------
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (1, 'DQ', 1, 'sum:math.abs(VariateA-VariateB)', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (2, 'DQ', 2, 'sum:math.pow((VariateA-VariateB),2)*math.abs(VariateA-VariateB)/result1', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (3, 'DQ', 3, '(1-(math.sqrt(result2)/VariateC))*100', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (4, 'VariateA', NULL, 'sj', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (5, 'VariateB', NULL, 'yc', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (6, 'VariateC', NULL, 'rl', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (7, 'VariateD', NULL, 'count', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (8, 'Point', 1, 'math.abs((VariateA-VariateB)/VariateC)*100', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (9, 'MAE', 1, 'sum:math.abs((VariateA-VariateB)', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (10, 'MAE', 2, '1-(result1/(VariateC*VariateD))', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (11, 'RMSE', 1, 'sum:math.pow((VariateA-VariateB)/VariateC,2)', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (12, 'RMSE', 2, '(1-math.sqrt((result1/VariateD)))*100', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (13, 'RMSES', 1, 'sum:math.pow((VariateA-VariateB),2)', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+INSERT INTO `t_calculation_formula` VALUES (14, 'RMSES', 2, '(1-(result1/VariateC*math.sqrt(VariateD)))*100', 'E62', NULL, NULL, NULL, NULL, NULL);
|
|
|
|
+
|
|
|
|
+SET FOREIGN_KEY_CHECKS = 1;
|