Răsfoiți Sursa

添加设备蓝牙授权表device_bluetooth_auth

李进 2 ani în urmă
părinte
comite
a1533af48f

+ 0 - 2
device-start/src/main/resources/doc/20230323.md

@@ -1,2 +0,0 @@
-## 2023-03-23
-1. 温度设置指令添加最高、最低预警值,类名SetsCmdServiceImpl

+ 0 - 3
device-start/src/main/resources/doc/20230323.sql

@@ -1,3 +0,0 @@
---修改温度设置指令字典
-DELETE FROM `xy`.`sys_dict` where `id` = 390;
-INSERT INTO `xy`.`sys_dict`(`id`, `pater_code`, `code`, `value`, `msg`, `status`, `create_time`, `update_time`, `create_user`, `update_user`, `orders`, `list_class`, `css_class`) VALUES (390, 'mqtt_cmd_templet_sets', 'temperature', '{ \"wkSn\": \"$wkSn$\", \"cmdType\": \"sets\", \"actionType\": \"issue\", \"data\": { \"type\": \"temperature\",\"workModel\":\"$workModel\",\"target\":\"$target$\",\"start1\":\"$start1$\",\"end1\":\"$end1$\",\"start2\":\"$start2$\",\"end2\":\"$end2$\",\"start3\":\"$start3$\",\"end3\":\"$end3$\",\"warningLow\":\"$warningLow$\",\"warningHigh\":\"$warningHigh$\"} }', '压缩机工作模式和时段设置,workModel=1制热,2制冷,3恒温,target=目标温度,4关闭, start,end=0~23 整数', b'1', '2023-02-07 14:13:05', '2023-03-22 14:02:06', 1, 1, 2, 'default', NULL);

+ 0 - 2
device-start/src/main/resources/doc/20230324.md

@@ -1,2 +0,0 @@
-## 2023-03-24
-1. 添加设备蓝牙授权表device_bluetooth_auth

+ 0 - 15
device-start/src/main/resources/doc/20230324.sql

@@ -1,15 +0,0 @@
-CREATE TABLE `xy`.`device_bluetooth_auth`  (
-  `id` bigint(0) UNSIGNED NOT NULL COMMENT 'id',
-  `device_id` bigint(0) NULL DEFAULT NULL COMMENT '设备ID',
-  `merc_id` bigint(0) UNSIGNED NULL DEFAULT 0 COMMENT '商户id',
-  `auth_code` varchar(90) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '授权码',
-  `use_time` datetime(0) NULL DEFAULT NULL COMMENT '使用时间',
-  `use_user` bigint(0) NULL DEFAULT NULL COMMENT '使用人',
-  `use_status` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT '1' COMMENT '使用状态',
-  `create_user` bigint(0) NULL DEFAULT NULL COMMENT '创建人',
-  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
-  `update_user` bigint(0) NULL DEFAULT NULL COMMENT '更新人',
-  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
-  PRIMARY KEY (`id`) USING BTREE,
-  INDEX `idx_parent_id`(`merc_id`) USING BTREE
-) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备蓝牙授权' ROW_FORMAT = Dynamic;