|  | @@ -1423,4 +1423,29 @@ update iot_alarm_data set source_type = 'FSU_Gas',field_code='alarm' where sourc
 | 
	
		
			
				|  |  |  update iot_alarm_data set source_type = 'FSU_Theft',field_code='alarm' where source_type = '41881' and field_code = '41881';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  -- 删除脏数据
 | 
	
		
			
				|  |  | -delete from iot_device_info where deleted= 1;
 | 
	
		
			
				|  |  | +delete from iot_device_info where deleted= 1;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +-- 修改短信发送表的type字段,将4181-41885修改为对应的productType
 | 
	
		
			
				|  |  | +update sms_send_record set type = 'FSU_Infrared' where type = '4181';
 | 
	
		
			
				|  |  | +update sms_send_record set type = 'FSU_Smoke' where type = '4182';
 | 
	
		
			
				|  |  | +update sms_send_record set type = 'FSU_TemperatureAndHumidity' where type = '4183';
 | 
	
		
			
				|  |  | +update sms_send_record set type = 'FSU_Water' where type = '4184';
 | 
	
		
			
				|  |  | +update sms_send_record set type = 'FSU_DoorMagnetic' where type = '4188';
 | 
	
		
			
				|  |  | +update sms_send_record set type = 'FSU_Theft' where type = '41881';
 | 
	
		
			
				|  |  | +update sms_send_record set type = 'FSU_Gas' where type = '41885';
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +-- 短信提醒类型字典表修改
 | 
	
		
			
				|  |  | +delete from sys_dict_type where dict_type = 'sms_notify_type';
 | 
	
		
			
				|  |  | +INSERT INTO `sys_dict_type`(`dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES ('短信提醒类型', 'sms_notify_type', '0', '超级管理员', '2024-06-06 14:15:13', '', NULL, NULL);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +delete from sys_dict_data where dict_type = 'sms_notify_type';
 | 
	
		
			
				|  |  | +INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '临期提醒', '10100', 'sms_notify_type', NULL, 'default', 'N', '0', '超级管理员', '2024-06-06 14:15:50', '', NULL, NULL);
 | 
	
		
			
				|  |  | +INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '逾期提醒', '10200', 'sms_notify_type', NULL, 'default', 'N', '0', '超级管理员', '2024-06-06 14:16:03', '', NULL, NULL);
 | 
	
		
			
				|  |  | +INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '水浸告警', 'FSU_Water', 'sms_notify_type', NULL, 'default', 'N', '0', '超级管理员', '2024-06-06 14:17:15', '', NULL, NULL);
 | 
	
		
			
				|  |  | +INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '温湿度告警', 'FSU_TemperatureAndHumidity', 'sms_notify_type', NULL, 'default', 'N', '0', '超级管理员', '2024-06-06 14:17:42', '', NULL, NULL);
 | 
	
		
			
				|  |  | +INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, '烟感告警', 'FSU_Smoke', 'sms_notify_type', NULL, 'default', 'N', '0', '超级管理员', '2024-06-06 14:18:09', '', NULL, NULL);
 | 
	
		
			
				|  |  | +INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (6, '红外告警', 'FSU_Infrared', 'sms_notify_type', NULL, 'default', 'N', '0', '超级管理员', '2024-06-06 14:18:28', '', NULL, NULL);
 | 
	
		
			
				|  |  | +INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (7, '燃气告警', 'FSU_Gas', 'sms_notify_type', NULL, 'default', 'N', '0', '超级管理员', '2024-06-06 14:18:53', '', NULL, NULL);
 | 
	
		
			
				|  |  | +INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (8, '防盗告警', 'FSU_Theft', 'sms_notify_type', NULL, 'default', 'N', '0', '超级管理员', '2024-06-06 14:19:44', '', NULL, NULL);
 | 
	
		
			
				|  |  | +INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (9, '门磁告警', 'FSU_DoorMagnetic', 'sms_notify_type', NULL, 'default', 'N', '0', '超级管理员', '2024-06-06 14:20:53', '', NULL, NULL);
 | 
	
		
			
				|  |  | +
 |