Kaynağa Gözat

用户登录方式更改

huangyan 1 ay önce
ebeveyn
işleme
832aa9af19

+ 65 - 2
controllers/CommonsController.go

@@ -18,13 +18,61 @@ func (c *AdminController) Login() {
 	c.TplName = "login.html"
 }
 
+//func (c *AdminController) Login_verification() {
+//	Admin_user := c.GetString("bzd_username")
+//	Admin_pass := c.GetString("bzd_password")
+//	companyId := c.GetString("company_id")
+//
+//	println("Login_verification", Admin_user, Admin_pass)
+//	err, admin_r := Account.Read_AdminLogin_verification(Admin_user, Admin_pass)
+//
+//	if err != nil {
+//		c.Data["json"] = lib.JSONS{Code: 202, Msg: "账号密码错误!"}
+//		c.ServeJSON()
+//		return
+//	}
+//
+//	if admin_r.T_pids == "*" {
+//		User_tokey := Account.Add_Tokey_Set(admin_r.T_uuid, companyId)
+//		c.Ctx.SetCookie("User_tokey", User_tokey, time.Second*60*60)
+//		c.Data["json"] = lib.JSONS{Code: 200, Msg: "OK!", Data: User_tokey}
+//		c.ServeJSON()
+//		return
+//	}
+//	//如果自定义了公司ID,则标识是管理员,判断是否pids是否存在要操作的pid,并且要求登录用户的PID一定为0
+//	if companyId != "" && admin_r.T_pid == 0 {
+//		pids := strings.Split(admin_r.T_pids, "|")
+//		for _, v := range pids {
+//			newV := strings.Replace(v, "P", "", -1)
+//			if newV == companyId {
+//				User_tokey := Account.Add_Tokey_Set(admin_r.T_uuid, companyId)
+//				c.Ctx.SetCookie("User_tokey", User_tokey, time.Second*60*60)
+//				c.Data["json"] = lib.JSONS{Code: 200, Msg: "OK!", Data: User_tokey}
+//				c.ServeJSON()
+//				return
+//			}
+//		}
+//		//不存在该公司的Pid
+//		c.Data["json"] = lib.JSONS{Code: 202, Msg: "没有操作该公司的权限!"}
+//		c.ServeJSON()
+//		return
+//	} else {
+//		User_tokey := Account.Add_Tokey_Set(admin_r.T_uuid, fmt.Sprintf("%d", admin_r.T_pid))
+//		c.Ctx.SetCookie("User_tokey", User_tokey, time.Second*60*60)
+//		c.Data["json"] = lib.JSONS{Code: 200, Msg: "OK!", Data: User_tokey}
+//		c.ServeJSON()
+//		return
+//	}
+//
+//}
+
 func (c *AdminController) Login_verification() {
 	Admin_user := c.GetString("bzd_username")
 	Admin_pass := c.GetString("bzd_password")
 	companyId := c.GetString("company_id")
 
 	println("Login_verification", Admin_user, Admin_pass)
-	err, admin_r := Account.Read_AdminLogin_verification(Admin_user, Admin_pass)
+	err, admin_r := Account.ReadAdminLoginVerification(Admin_user, Admin_pass)
 
 	if err != nil {
 		c.Data["json"] = lib.JSONS{Code: 202, Msg: "账号密码错误!"}
@@ -66,6 +114,20 @@ func (c *AdminController) Login_verification() {
 
 }
 
+// func (c *AdminController) Info() {
+//
+//		// 验证登录
+//		b_, user_r := lib.Verification(c.Ctx.GetCookie("User_tokey"), c.GetString("User_tokey"))
+//		if !b_ {
+//			c.Data["json"] = lib.JSONS{Code: 202, Msg: "no"}
+//			c.ServeJSON()
+//			return
+//		}
+//
+//		c.Data["json"] = lib.JSONS{Code: 200, Msg: "ok", Data: Account.AdminToAdmin_R(user_r)}
+//		c.ServeJSON()
+//		return
+//	}
 func (c *AdminController) Info() {
 
 	// 验证登录
@@ -76,7 +138,7 @@ func (c *AdminController) Info() {
 		return
 	}
 
-	c.Data["json"] = lib.JSONS{Code: 200, Msg: "ok", Data: Account.AdminToAdmin_R(user_r)}
+	c.Data["json"] = lib.JSONS{Code: 200, Msg: "ok", Data: Account.ColdpUserToColdpUser_R(user_r)}
 	c.ServeJSON()
 	return
 }
@@ -105,5 +167,6 @@ func (c *AdminController) Home() {
 	}
 	c.Data["T_pid"] = admin_r.T_pid
 	c.Data["names"] = admin_r.T_name
+	fmt.Println("======================>", admin_r.T_pid, admin_r.T_name)
 	c.TplName = "home.html"
 }

+ 314 - 0
controllers/CompanyList.go

@@ -0,0 +1,314 @@
+package controllers
+
+import (
+	"ColdP_server/conf"
+	"ColdP_server/controllers/lib"
+	"ColdP_server/models/Account"
+	"ColdP_server/models/Company"
+	"crypto/md5"
+	"encoding/hex"
+	"encoding/json"
+	"fmt"
+	beego "github.com/beego/beego/v2/server/web"
+	uuid "github.com/satori/go.uuid"
+	"strconv"
+)
+
+type CompanyController struct {
+	beego.Controller
+}
+
+func (c *CompanyController) User_html() {
+	b_, _ := lib.Verification(c.Ctx.GetCookie("User_tokey"), c.GetString("User_tokey"))
+	if !b_ {
+		c.Data["json"] = lib.JSONS{Code: 201, Msg: "User_tokey Err!"}
+		c.ServeJSON()
+		return
+	}
+	// 验证登录
+	b_, R_u := lib.Verification(c.Ctx.GetCookie("User_tokey"), c.GetString("User_tokey"))
+	if !b_ {
+		c.Data["json"] = lib.JSONS{Code: 201, Msg: "User_tokey Err!"}
+		c.ServeJSON()
+		return
+	}
+
+	Name := c.GetString("Name")
+
+	c.Data["Class_List"] = Company.Read_CompanyClass_All(R_u.T_pid, "")
+	c.Data["Name"] = Name
+	c.TplName = "User/useredit.html"
+}
+
+// GetCompanyList 获取公司列表
+func (c *CompanyController) GetCompanyList() {
+	// 验证登录
+	b_, user_r := lib.Verification(c.Ctx.GetCookie("User_tokey"), c.GetString("User_tokey"))
+	if !b_ {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "no"}
+		c.ServeJSON()
+		return
+	}
+	if user_r.T_pid != 0 {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "没有操作权限!"}
+		c.ServeJSON()
+		return
+	}
+	fmt.Println(user_r)
+	list, err := Account.GetCompanyList(c.GetString("serch"))
+	if err != nil {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "查询失败!"}
+		c.ServeJSON()
+		return
+	}
+	c.Data["json"] = lib.JSONS{Code: 200, Msg: "OK!", Data: list}
+	c.ServeJSON()
+	return
+}
+
+// Read_Admin_List 获取用户列表
+func (c *CompanyController) Read_Admin_List() {
+	// 验证登录
+	b_, user_r := lib.Verification(c.Ctx.GetCookie("User_tokey"), c.GetString("User_tokey"))
+	if !b_ {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "no"}
+		c.ServeJSON()
+		return
+	}
+	if user_r.T_pid != 0 {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "没有操作权限!"}
+		c.ServeJSON()
+		return
+	}
+	page, _ := c.GetInt("page")
+	list, count := Account.Read_ColdUser_List(user_r.T_pid, c.GetString("T_name"), page, conf.Page_size)
+	var pageCount int
+	if (int(count) % conf.Page_size) != 0 {
+		pageCount = int(count) / conf.Page_size
+		pageCount++
+	}
+	c.Data["json"] = lib.PageHelper{int(count), pageCount, int(page), int(page) >= pageCount, page <= 1, list}
+	c.ServeJSON()
+}
+
+// UpdateUserStateById 修改用户状态
+func (c *CompanyController) UpdateUserStateById() {
+	// 验证登录
+	b_, user_r := lib.Verification(c.Ctx.GetCookie("User_tokey"), c.GetString("User_tokey"))
+	if !b_ {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "no"}
+		c.ServeJSON()
+		return
+	}
+	if user_r.T_pid != 0 {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "没有操作权限!"}
+		c.ServeJSON()
+		return
+	}
+	var coldServe Account.ColdpUser
+	var cold []string
+	var err error
+	coldServe.Id, err = strconv.Atoi(c.GetString("Id"))
+	coldServe.T_State, err = strconv.Atoi(c.GetString("T_State"))
+	if err != nil {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "获取参数失败!"}
+		c.ServeJSON()
+		return
+	}
+	cold = append(cold, "t__state")
+	cold = append(cold, "ID")
+	state := Account.UpdateByIdState(coldServe, cold...)
+	if state {
+		c.Data["json"] = lib.JSONS{Code: 200, Msg: "OK!"}
+		c.ServeJSON()
+		return
+	} else {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "修改用户状态失败!"}
+		c.ServeJSON()
+		return
+	}
+}
+func (c *CompanyController) UpdateUser() {
+	// 验证登录
+	b_, user_r := lib.Verification(c.Ctx.GetCookie("User_tokey"), c.GetString("User_tokey"))
+	if !b_ {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "no"}
+		c.ServeJSON()
+		return
+	}
+	if user_r.T_pid != 0 {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "没有操作权限!"}
+		c.ServeJSON()
+		return
+	}
+	var coldServe Account.ColdpUser
+	var cold []string
+	var err error
+	coldServe.Id, err = strconv.Atoi(c.GetString("Id"))
+	if len(c.GetString("T_name")) > 0 {
+		coldServe.T_name = c.GetString("T_name")
+		cold = append(cold, "t_name")
+	}
+	if len(c.GetString("T_user")) > 0 {
+		coldServe.T_name = c.GetString("T_user")
+		cold = append(cold, "t_user")
+	}
+	if len(c.GetString("T_pass")) > 0 {
+		coldServe.T_name = c.GetString("T_pass")
+		cold = append(cold, "t_pass")
+	}
+	if len(c.GetString("T_pid")) > 0 {
+		coldServe.T_name = c.GetString("T_pid")
+		cold = append(cold, "t_pid")
+	}
+	if err != nil {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "获取参数失败!"}
+		c.ServeJSON()
+		return
+	}
+	cold = append(cold, "t__state")
+	cold = append(cold, "ID")
+	state := Account.UpdateByIdState(coldServe, cold...)
+	if state {
+		c.Data["json"] = lib.JSONS{Code: 200, Msg: "OK!"}
+		c.ServeJSON()
+		return
+	} else {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "修改用户状态失败!"}
+		c.ServeJSON()
+		return
+	}
+}
+func (c *CompanyController) GetUserById() {
+	// 验证登录
+	b_, user_r := lib.Verification(c.Ctx.GetCookie("User_tokey"), c.GetString("User_tokey"))
+	if !b_ {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "no"}
+		c.ServeJSON()
+		return
+	}
+	if user_r.T_pid != 0 {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "没有操作权限!"}
+		c.ServeJSON()
+		return
+	}
+	var coldServe Account.ColdpUser
+	var cold []string
+	var err error
+	if len(c.GetString("Id")) > 0 {
+		coldServe.Id, err = strconv.Atoi(c.GetString("Id"))
+		if err != nil {
+			c.Data["json"] = lib.JSONS{Code: 202, Msg: "获取参数失败!"}
+			c.ServeJSON()
+			return
+		}
+	}
+	cold = append(cold, "ID")
+	state := Account.UpdateByIdState(coldServe, cold...)
+	if state {
+		c.Data["json"] = lib.JSONS{Code: 200, Msg: "OK!"}
+		c.ServeJSON()
+		return
+	} else {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "修改用户状态失败!"}
+		c.ServeJSON()
+		return
+	}
+}
+
+// DeleteUserById 删除用户
+func (c *CompanyController) DeleteUserById() {
+	// 验证登录
+	b_, user_r := lib.Verification(c.Ctx.GetCookie("User_tokey"), c.GetString("User_tokey"))
+	if !b_ {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "no"}
+		c.ServeJSON()
+		return
+	}
+	if user_r.T_pid != 0 {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "没有操作权限!"}
+		c.ServeJSON()
+		return
+	}
+	var coldServe Account.ColdpUser
+	var err error
+	coldServe.Id, err = strconv.Atoi(c.GetString("Id"))
+	if err != nil {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "获取参数失败!"}
+		c.ServeJSON()
+		return
+	}
+	state := Account.DeleteById(coldServe)
+	if state {
+		c.Data["json"] = lib.JSONS{Code: 200, Msg: "OK!"}
+		c.ServeJSON()
+		return
+	} else {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "删除用户失败!"}
+		c.ServeJSON()
+		return
+	}
+}
+
+// AddUser 添加用户
+func (c *CompanyController) AddUser() {
+	// 验证登录
+	b_, user_r := lib.Verification(c.Ctx.GetCookie("User_tokey"), c.GetString("User_tokey"))
+	if !b_ {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "no"}
+		c.ServeJSON()
+		return
+	}
+	if user_r.T_pid != 0 {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "没有操作权限!"}
+		c.ServeJSON()
+		return
+	}
+	var coldServe Account.ColdpUser
+	var addUser Account.AddUser
+	var err error
+	err = json.Unmarshal(c.Ctx.Input.RequestBody, &addUser)
+
+	if len(addUser.T_name) > 0 {
+		coldServe.T_name = addUser.T_name
+	}
+	if len(addUser.T_user) > 0 {
+		coldServe.T_user = addUser.T_user
+	}
+	if addUser.T_pid == "" {
+		coldServe.T_pid = 0
+		coldServe.T_pids = "*"
+	} else {
+		if len(addUser.T_pid) > 0 {
+			coldServe.T_pid, err = strconv.Atoi(addUser.T_pid)
+
+		}
+	}
+
+	if err != nil {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "获取参数失败!"}
+		c.ServeJSON()
+		return
+	}
+	if len(addUser.T_pass) > 0 {
+		bytes := []byte(addUser.T_pass)
+		sum := md5.Sum(bytes)
+		coldServe.T_pass = hex.EncodeToString(sum[:])
+	}
+	user := Account.Read_Company_ByUser(coldServe.T_user)
+	if !user {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "账号重复!"}
+		c.ServeJSON()
+		return
+	}
+	coldServe.T_State = 1
+	coldServe.T_uuid = uuid.NewV4().String()
+	_, err = Account.AddColdpUser(coldServe)
+	if err != nil {
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "添加用户失败!"}
+		c.ServeJSON()
+		return
+	}
+	c.Data["json"] = lib.JSONS{Code: 200, Msg: "添加成功!"}
+	c.ServeJSON()
+}

+ 180 - 180
controllers/Handle/DeviceParameter.go

@@ -1,182 +1,182 @@
 package Handle
 
-import (
-	"ColdP_server/controllers/MqttServer"
-	"ColdP_server/controllers/lib"
-	"ColdP_server/models/Device"
-	"ColdP_server/models/System"
-	"encoding/json"
-	"fmt"
-	"time"
-)
-
-func Go_Read_DeviceParameter() {
-	for true {
-		for k, _ := range lib.CountryRead_DeviceParameterSnMap {
-
-			fmt.Println("CountryRead_DeviceParameterSnMap => KEY", k)
-			Read_DeviceParameter(k)
-			delete(lib.CountryRead_DeviceParameterSnMap, k)
-		}
-
-		time.Sleep(1)
-	}
-}
-
-func init() {
-	//go Go_Read_DeviceParameter()
-}
-
-func Read_DeviceParameter(T_sn string) {
-	//  base  读取基本参数
-	Msid := lib.Random(1, 9999)
-	Rt_parameter := MqttServer.Rt_Parameter{
-		Sn:    T_sn,
-		Type:  3,
-		Param: "base",
-		Msid:  (Msid * 10) + 1,
-	}
-
-	//  offset     温湿度补偿
-	Msid = lib.Random(1, 9999)
-	Rt_parameter.Param = "offset"
-	Rt_parameter.Msid = (Msid * 10) + 3
-	// 回复
-	jsonStu, err := json.Marshal(Rt_parameter)
-	if err != nil {
-		System.Add_Logs("MqttServer", "参数请求 [Rt_Parameter]", "offset")
-		fmt.Println("回复失败 [Rt_Parameter],err=", err)
-	}
-	fmt.Println(string(jsonStu))
-	MqttServer.Mqtt_publish(T_sn, string(jsonStu))
-	//lib.CountryMsidMap[(Msid*10)+3] = T_uuid   // Mqtt 消息透传
-
-	return
-
-}
-
-func Pu_DeviceParameter(T_uuid string, T_sn string, Rt_parameter_base_ MqttServer.Rt_Parameter_Base_) {
-	//  base  读取基本参数
-	Msid := lib.Random(1, 9999)
-	Rt_parameter := MqttServer.Rt_Parameter_Base{
-		Sn:   T_sn,
-		Type: 4,
-		Msid: (Msid * 10) + 1,
-		Base: Rt_parameter_base_,
-	}
-	// 回复
-	jsonStu, err := json.Marshal(Rt_parameter)
-	if err != nil {
-		System.Add_Logs("设备配置", "MQTT回复失败 [Pu_DeviceParameter]", string(jsonStu))
-		fmt.Println("设备配置 MQTT回复失败 [Pu_DeviceParameter],err=", err)
-		return
-	}
-	fmt.Println(string(jsonStu))
-	MqttServer.Mqtt_publish(T_sn, string(jsonStu))
-	//lib.CountryMsidMap[(Msid*10)+1] = T_uuid   // Mqtt 消息透传
-
-	Deviceparameter := Device.DeviceParameter{
-		T_sn:           T_sn,
-		T_devName:      Rt_parameter_base_.T_devName,
-		T_uploadTime:   Rt_parameter_base_.T_uploadTime,
-		T_saveTime:     Rt_parameter_base_.T_saveTime,
-		T_overrunSave:  Rt_parameter_base_.T_overrunSave,
-		T_overrunAlarm: Rt_parameter_base_.T_overrunAlarm,
-		T_outageAlarm:  Rt_parameter_base_.T_outageAlarm,
-		T_lostAlarm:    Rt_parameter_base_.T_lostAlarm,
-		T_warningTime:  Rt_parameter_base_.T_warningTime,
-		T_warningDelay: Rt_parameter_base_.T_warningDelay,
-		T_batteryLimit: Rt_parameter_base_.T_batteryLimit,
-		T_tempPre:      Rt_parameter_base_.T_tempPre,
-		T_humPre:       Rt_parameter_base_.T_humPre,
-		T_enwarning:    Rt_parameter_base_.T_enwarning,
-		T_uuid:         T_uuid,
-		T_Msid:         (Msid * 10) + 1,
-		T_SendState:    0,
-		T_State:        2,
-	}
-
-	if !Device.Add_DeviceParameter(Deviceparameter) {
-		System.Add_Logs("设备配置", "插入失败 [Pu_DeviceParameter]", string(jsonStu))
-		fmt.Println("设备配置 [Pu_DeviceParameter],err=", err)
-	}
-
-	return
-
-}
-
-func Pu_DeviceParameter_Sensor(T_uuid string, T_sn string, Rt_parameter_sensor_ []MqttServer.Rt_Parameter_Sensor_) {
-	//  base  读取基本参数
-	Msid := lib.Random(1, 9999)
-	Rt_parameter := MqttServer.Rt_Parameter_Sensor{
-		Sn:     T_sn,
-		Type:   4,
-		Msid:   (Msid * 10) + 2,
-		Sensor: Rt_parameter_sensor_,
-	}
-	// 回复
-	jsonStu, err := json.Marshal(Rt_parameter)
-	if err != nil {
-		System.Add_Logs("设备配置", "MQTT回复失败 [Pu_DeviceParameter_Sensor]", string(jsonStu))
-		fmt.Println("设备配置 MQTT回复失败 [Pu_DeviceParameter_Sensor],err=", err)
-	}
-	fmt.Println(string(jsonStu))
-	MqttServer.Mqtt_publish(T_sn, string(jsonStu))
-	//lib.CountryMsidMap[(Msid*10)+2] = T_uuid   // Mqtt 消息透传
-
-	//
-
-	///
-	for _, v := range Rt_parameter_sensor_ {
-		// 记录传感器
-		Devicesensorparameter := Device.DeviceSensorParameter{
-			T_sn:      T_sn,
-			T_id:      v.T_id,
-			T_name:    v.T_name,
-			T_Tlower:  v.T_Tlower,
-			T_Tupper:  v.T_Tupper,
-			T_RHlower: v.T_RHlower,
-			T_RHupper: v.T_RHupper,
-			T_en:      v.T_en,
-			T_free:    v.T_free,
-
-			T_uuid:      T_uuid,
-			T_Msid:      (Msid * 10) + 2,
-			T_SendState: 0,
-			T_State:     2,
-		}
-		if !Device.Add_DeviceSensorParameter(Devicesensorparameter) {
-			System.Add_Logs("设备配置", "插入失败 [Pu_DeviceParameter_Sensor]", string(jsonStu))
-			fmt.Println("设备配置 [Pu_DeviceParameter_Sensor],err=", err)
-		}
-	}
-
-	return
-
-}
-
-func Pu_DeviceParameter_Compensate(T_uuid string, T_sn string, Rt_parameter_compensate_ []MqttServer.Rt_Parameter_Compensate_) {
-	//  base  读取基本参数
-	Msid := lib.Random(1, 9999)
-	Rt_parameter_offset := MqttServer.Rt_Parameter_Offset{
-		Sn:     T_sn,
-		Type:   4,
-		Msid:   (Msid * 10) + 3,
-		Offset: Rt_parameter_compensate_,
-	}
-	// 回复
-	jsonStu, err := json.Marshal(Rt_parameter_offset)
-	if err != nil {
-		System.Add_Logs("MqttServer", "参数请求 [Pu_DeviceParameter_Compensate]", "Offset")
-		fmt.Println("回复失败 [Pu_DeviceParameter_Compensate],err=", err)
-	}
-	fmt.Println(string(jsonStu))
-
-	MqttServer.Mqtt_publish(T_sn, string(jsonStu))
-	// lib.CountryMsidMap[(Msid*10)+3] = T_uuid   // Mqtt 消息透传
-
-	///
-
-	return
-
-}
+// import (
+// 	"ColdP_server/controllers/MqttServer"
+// 	"ColdP_server/controllers/lib"
+// 	"ColdP_server/models/Device"
+// 	"ColdP_server/models/System"
+// 	"encoding/json"
+// 	"fmt"
+// 	"time"
+// )
+
+// func Go_Read_DeviceParameter() {
+// 	for true {
+// 		for k, _ := range lib.CountryRead_DeviceParameterSnMap {
+
+// 			fmt.Println("CountryRead_DeviceParameterSnMap => KEY", k)
+// 			Read_DeviceParameter(k)
+// 			delete(lib.CountryRead_DeviceParameterSnMap, k)
+// 		}
+
+// 		time.Sleep(1)
+// 	}
+// }
+
+// func init() {
+// 	//go Go_Read_DeviceParameter()
+// }
+
+// func Read_DeviceParameter(T_sn string) {
+// 	//  base  读取基本参数
+// 	Msid := lib.Random(1, 9999)
+// 	Rt_parameter := MqttServer.Rt_Parameter{
+// 		Sn:    T_sn,
+// 		Type:  3,
+// 		Param: "base",
+// 		Msid:  (Msid * 10) + 1,
+// 	}
+
+// 	//  offset     温湿度补偿
+// 	Msid = lib.Random(1, 9999)
+// 	Rt_parameter.Param = "offset"
+// 	Rt_parameter.Msid = (Msid * 10) + 3
+// 	// 回复
+// 	jsonStu, err := json.Marshal(Rt_parameter)
+// 	if err != nil {
+// 		System.Add_Logs("MqttServer", "参数请求 [Rt_Parameter]", "offset")
+// 		fmt.Println("回复失败 [Rt_Parameter],err=", err)
+// 	}
+// 	fmt.Println(string(jsonStu))
+// 	MqttServer.Mqtt_publish(T_sn, string(jsonStu))
+// 	//lib.CountryMsidMap[(Msid*10)+3] = T_uuid   // Mqtt 消息透传
+
+// 	return
+
+// }
+
+// func Pu_DeviceParameter(T_uuid string, T_sn string, Rt_parameter_base_ MqttServer.Rt_Parameter_Base_) {
+// 	//  base  读取基本参数
+// 	Msid := lib.Random(1, 9999)
+// 	Rt_parameter := MqttServer.Rt_Parameter_Base{
+// 		Sn:   T_sn,
+// 		Type: 4,
+// 		Msid: (Msid * 10) + 1,
+// 		Base: Rt_parameter_base_,
+// 	}
+// 	// 回复
+// 	jsonStu, err := json.Marshal(Rt_parameter)
+// 	if err != nil {
+// 		System.Add_Logs("设备配置", "MQTT回复失败 [Pu_DeviceParameter]", string(jsonStu))
+// 		fmt.Println("设备配置 MQTT回复失败 [Pu_DeviceParameter],err=", err)
+// 		return
+// 	}
+// 	fmt.Println(string(jsonStu))
+// 	MqttServer.Mqtt_publish(T_sn, string(jsonStu))
+// 	//lib.CountryMsidMap[(Msid*10)+1] = T_uuid   // Mqtt 消息透传
+
+// 	Deviceparameter := Device.DeviceParameter{
+// 		T_sn:           T_sn,
+// 		T_devName:      Rt_parameter_base_.T_devName,
+// 		T_uploadTime:   Rt_parameter_base_.T_uploadTime,
+// 		T_saveTime:     Rt_parameter_base_.T_saveTime,
+// 		T_overrunSave:  Rt_parameter_base_.T_overrunSave,
+// 		T_overrunAlarm: Rt_parameter_base_.T_overrunAlarm,
+// 		T_outageAlarm:  Rt_parameter_base_.T_outageAlarm,
+// 		T_lostAlarm:    Rt_parameter_base_.T_lostAlarm,
+// 		T_warningTime:  Rt_parameter_base_.T_warningTime,
+// 		T_warningDelay: Rt_parameter_base_.T_warningDelay,
+// 		T_batteryLimit: Rt_parameter_base_.T_batteryLimit,
+// 		T_tempPre:      Rt_parameter_base_.T_tempPre,
+// 		T_humPre:       Rt_parameter_base_.T_humPre,
+// 		T_enwarning:    Rt_parameter_base_.T_enwarning,
+// 		T_uuid:         T_uuid,
+// 		T_Msid:         (Msid * 10) + 1,
+// 		T_SendState:    0,
+// 		T_State:        2,
+// 	}
+
+// 	if !Device.Add_DeviceParameter(Deviceparameter) {
+// 		System.Add_Logs("设备配置", "插入失败 [Pu_DeviceParameter]", string(jsonStu))
+// 		fmt.Println("设备配置 [Pu_DeviceParameter],err=", err)
+// 	}
+
+// 	return
+
+// }
+
+// func Pu_DeviceParameter_Sensor(T_uuid string, T_sn string, Rt_parameter_sensor_ []MqttServer.Rt_Parameter_Sensor_) {
+// 	//  base  读取基本参数
+// 	Msid := lib.Random(1, 9999)
+// 	Rt_parameter := MqttServer.Rt_Parameter_Sensor{
+// 		Sn:     T_sn,
+// 		Type:   4,
+// 		Msid:   (Msid * 10) + 2,
+// 		Sensor: Rt_parameter_sensor_,
+// 	}
+// 	// 回复
+// 	jsonStu, err := json.Marshal(Rt_parameter)
+// 	if err != nil {
+// 		System.Add_Logs("设备配置", "MQTT回复失败 [Pu_DeviceParameter_Sensor]", string(jsonStu))
+// 		fmt.Println("设备配置 MQTT回复失败 [Pu_DeviceParameter_Sensor],err=", err)
+// 	}
+// 	fmt.Println(string(jsonStu))
+// 	MqttServer.Mqtt_publish(T_sn, string(jsonStu))
+// 	//lib.CountryMsidMap[(Msid*10)+2] = T_uuid   // Mqtt 消息透传
+
+// 	//
+
+// 	///
+// 	for _, v := range Rt_parameter_sensor_ {
+// 		// 记录传感器
+// 		Devicesensorparameter := Device.DeviceSensorParameter{
+// 			T_sn:      T_sn,
+// 			T_id:      v.T_id,
+// 			T_name:    v.T_name,
+// 			T_Tlower:  v.T_Tlower,
+// 			T_Tupper:  v.T_Tupper,
+// 			T_RHlower: v.T_RHlower,
+// 			T_RHupper: v.T_RHupper,
+// 			T_en:      v.T_en,
+// 			T_free:    v.T_free,
+
+// 			T_uuid:      T_uuid,
+// 			T_Msid:      (Msid * 10) + 2,
+// 			T_SendState: 0,
+// 			T_State:     2,
+// 		}
+// 		if !Device.Add_DeviceSensorParameter(Devicesensorparameter) {
+// 			System.Add_Logs("设备配置", "插入失败 [Pu_DeviceParameter_Sensor]", string(jsonStu))
+// 			fmt.Println("设备配置 [Pu_DeviceParameter_Sensor],err=", err)
+// 		}
+// 	}
+
+// 	return
+
+// }
+
+// func Pu_DeviceParameter_Compensate(T_uuid string, T_sn string, Rt_parameter_compensate_ []MqttServer.Rt_Parameter_Compensate_) {
+// 	//  base  读取基本参数
+// 	Msid := lib.Random(1, 9999)
+// 	Rt_parameter_offset := MqttServer.Rt_Parameter_Offset{
+// 		Sn:     T_sn,
+// 		Type:   4,
+// 		Msid:   (Msid * 10) + 3,
+// 		Offset: Rt_parameter_compensate_,
+// 	}
+// 	// 回复
+// 	jsonStu, err := json.Marshal(Rt_parameter_offset)
+// 	if err != nil {
+// 		System.Add_Logs("MqttServer", "参数请求 [Pu_DeviceParameter_Compensate]", "Offset")
+// 		fmt.Println("回复失败 [Pu_DeviceParameter_Compensate],err=", err)
+// 	}
+// 	fmt.Println(string(jsonStu))
+
+// 	MqttServer.Mqtt_publish(T_sn, string(jsonStu))
+// 	// lib.CountryMsidMap[(Msid*10)+3] = T_uuid   // Mqtt 消息透传
+
+// 	///
+
+// 	return
+
+// }

+ 8 - 7
controllers/MqttServer/Mqtt.go

@@ -6,11 +6,6 @@ import (
 	"ColdP_server/models/Device"
 	"encoding/json"
 	"fmt"
-	"github.com/beego/beego/v2/adapter/orm"
-	beego "github.com/beego/beego/v2/server/web"
-	mqtt "github.com/eclipse/paho.mqtt.golang"
-	"github.com/robfig/cron/v3"
-	"github.com/tidwall/gjson"
 	"log"
 	"math/rand"
 	"os"
@@ -21,6 +16,12 @@ import (
 	"sync/atomic"
 	"syscall"
 	"time"
+
+	"github.com/beego/beego/v2/adapter/orm"
+	beego "github.com/beego/beego/v2/server/web"
+	mqtt "github.com/eclipse/paho.mqtt.golang"
+	"github.com/robfig/cron/v3"
+	"github.com/tidwall/gjson"
 )
 
 var (
@@ -472,7 +473,7 @@ func UpdateDataRepeat() {
 						pubData, err := json.Marshal(Deviation_Sub{
 							Sn:   clodp.Sn,
 							Type: 8,
-							Mid:  time.Now().Unix(),
+							Mid:  time.Now().Unix() + int64(rand.Intn(10)),
 							Data: []Deviation_Sub_Data{
 								{
 									Id: clodp.T_id,
@@ -493,7 +494,7 @@ func UpdateDataRepeat() {
 						pubData, err := json.Marshal(Sensor_Sub{
 							Type: 6,
 							Sn:   clodp.Sn,
-							Mid:  int(time.Now().Unix()),
+							Mid:  int(time.Now().Unix() + int64(rand.Intn(10))),
 							Data: []Sensor_Sub_Data{
 								{
 									Id:    clodp.T_id,

+ 64 - 10
controllers/lib/lib.go

@@ -82,7 +82,61 @@ type R1_JSONS struct {
 }
 
 // 登录验证
-func Verification(GetCookie string, GetString string) (bool, Account.Admin) {
+//
+//	func Verification(GetCookie string, GetString string) (bool, Account.Admin) {
+//		Run_My_Server = true // 运行当期服务
+//		// 自适应 参数
+//		User_tokey := GetCookie
+//		if len(User_tokey) == 0 {
+//			User_tokey = GetString
+//		}
+//		if len(User_tokey) == 0 {
+//			return false, Account.Admin{}
+//		}
+//		tokey, is := Account.Redis_Tokey_Get(User_tokey)
+//		if !is {
+//			return false, Account.Admin{}
+//		}
+//		admin_r, err := Account.Read_Admin_ByUuid(tokey)
+//		if err != nil {
+//			return false, Account.Admin{}
+//		}
+//		log.Println("登录 Admin_name 为:", admin_r.T_name)
+//		return true, admin_r
+//	}
+//
+// // VerificationController 登录验证 需要控制器对象
+//
+//	func VerificationController(c *beego.Controller) (bool, Account.Admin) {
+//		Run_My_Server = true // 运行当期服务
+//		GetString := c.GetString("User_tokey")
+//		GetCookie := c.Ctx.GetCookie("User_tokey")
+//		// 自适应 参数
+//		User_tokey := GetCookie
+//		if len(User_tokey) == 0 {
+//			User_tokey = GetString
+//		}
+//		if len(User_tokey) == 0 {
+//			c.Data["json"] = JSONS{Code: 201, Msg: "User_tokey Err!"}
+//			c.ServeJSON()
+//			return false, Account.Admin{}
+//		}
+//		tokey, is := Account.Redis_Tokey_Get(User_tokey)
+//		if !is {
+//			c.Data["json"] = JSONS{Code: 201, Msg: "User_tokey Err!"}
+//			c.ServeJSON()
+//			return false, Account.Admin{}
+//		}
+//		admin_r, err := Account.Read_Admin_ByUuid(tokey)
+//		if err != nil {
+//			c.Data["json"] = JSONS{Code: 201, Msg: "User_tokey Err!"}
+//			c.ServeJSON()
+//			return false, Account.Admin{}
+//		}
+//		log.Println("登录 Admin_name 为:", admin_r.T_name)
+//		return true, admin_r
+//	}
+func Verification(GetCookie string, GetString string) (bool, Account.ColdpUser) {
 	Run_My_Server = true // 运行当期服务
 	// 自适应 参数
 	User_tokey := GetCookie
@@ -90,22 +144,22 @@ func Verification(GetCookie string, GetString string) (bool, Account.Admin) {
 		User_tokey = GetString
 	}
 	if len(User_tokey) == 0 {
-		return false, Account.Admin{}
+		return false, Account.ColdpUser{}
 	}
 	tokey, is := Account.Redis_Tokey_Get(User_tokey)
 	if !is {
-		return false, Account.Admin{}
+		return false, Account.ColdpUser{}
 	}
-	admin_r, err := Account.Read_Admin_ByUuid(tokey)
+	admin_r, err := Account.ReadColdpUserByUuid(tokey)
 	if err != nil {
-		return false, Account.Admin{}
+		return false, Account.ColdpUser{}
 	}
 	log.Println("登录 Admin_name 为:", admin_r.T_name)
 	return true, admin_r
 }
 
 // VerificationController 登录验证 需要控制器对象
-func VerificationController(c *beego.Controller) (bool, Account.Admin) {
+func VerificationController(c *beego.Controller) (bool, Account.ColdpUser) {
 	Run_My_Server = true // 运行当期服务
 	GetString := c.GetString("User_tokey")
 	GetCookie := c.Ctx.GetCookie("User_tokey")
@@ -117,19 +171,19 @@ func VerificationController(c *beego.Controller) (bool, Account.Admin) {
 	if len(User_tokey) == 0 {
 		c.Data["json"] = JSONS{Code: 201, Msg: "User_tokey Err!"}
 		c.ServeJSON()
-		return false, Account.Admin{}
+		return false, Account.ColdpUser{}
 	}
 	tokey, is := Account.Redis_Tokey_Get(User_tokey)
 	if !is {
 		c.Data["json"] = JSONS{Code: 201, Msg: "User_tokey Err!"}
 		c.ServeJSON()
-		return false, Account.Admin{}
+		return false, Account.ColdpUser{}
 	}
-	admin_r, err := Account.Read_Admin_ByUuid(tokey)
+	admin_r, err := Account.ReadColdpUserByUuid(tokey)
 	if err != nil {
 		c.Data["json"] = JSONS{Code: 201, Msg: "User_tokey Err!"}
 		c.ServeJSON()
-		return false, Account.Admin{}
+		return false, Account.ColdpUser{}
 	}
 	log.Println("登录 Admin_name 为:", admin_r.T_name)
 	return true, admin_r

+ 1 - 1
lastupdate.tmp

@@ -1 +1 @@
-{"E:\\WebstormProjects\\ColdP_server\\controllers":1736930549428514000}
+{"E:\\WebstormProjects\\ColdP_server\\controllers":1737510386700760500}

+ 538 - 1362
logs/logx/logx.log

@@ -1,1362 +1,538 @@
-2025/01/13 16:48:10.103 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/13 16:48:42.200 [E] [DeviceController.go:111]  连接失败 连接失败: no servers defined to connect to
-2025/01/13 16:48:42.253 [E] [DeviceController.go:111]  连接失败 连接失败: no servers defined to connect to
-2025/01/13 16:48:44.434 [E] [DeviceController.go:242]  连接失败 连接失败: no servers defined to connect to
-2025/01/13 16:49:40.777 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/13 16:49:53.561 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 16:49:54.079 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 16:51:19.541 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/13 16:53:38.121 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/13 16:53:54.123 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 16:54:43.675 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:55:13.729 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 16:55:28.742 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 16:55:53.622 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 16:55:53.623 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 16:55:53.677 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:55:53.707 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:2787->182.44.114.126:1883: use of closed network connection
-2025/01/13 16:55:53.728 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 16:55:53.728 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:55:53.746 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:55:53.923 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:55:53.961 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:55:58.670 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 16:55:58.822 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 16:55:58.921 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 16:56:28.784 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 16:56:28.784 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 16:56:28.843 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:56:28.854 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:56:28.859 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 16:56:28.859 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:56:28.862 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:56:29.106 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:56:29.106 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:56:33.848 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 16:56:45.316 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 16:56:45.316 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 16:56:45.371 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:56:45.389 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 16:56:45.391 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:56:45.391 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:56:45.410 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:56:45.603 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:56:45.634 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 16:56:50.371 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:01:05.143 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:01:05.151 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:01:05.255 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:01:05.255 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:01:05.256 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:01:05.305 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:01:05.497 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:01:05.497 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:05:26.229 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:05:26.229 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:05:26.314 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:05:26.314 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:05:26.314 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:05:26.314 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:05:26.336 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:05:26.548 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:05:31.315 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:05:31.834 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:07:18.510 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:07:18.536 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:07:18.588 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:07:18.589 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:07:18.606 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:07:18.606 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:07:18.622 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:07:18.845 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:07:23.607 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:07:23.687 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:07:24.094 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:07:42.900 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:07:42.901 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:07:42.962 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:07:42.963 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:07:42.968 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:07:42.975 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:07:42.975 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:07:42.975 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:3699->182.44.114.126:1883: use of closed network connection
-2025/01/13 17:07:42.980 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:07:42.986 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:07:42.988 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:08:11.430 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:08:11.432 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:08:11.475 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:08:11.497 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:08:11.497 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:3765->182.44.114.126:1883: use of closed network connection
-2025/01/13 17:08:11.499 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:08:11.501 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:08:11.744 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:08:16.476 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:08:17.021 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:08:59.873 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:08:59.873 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:08:59.941 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:08:59.952 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:08:59.953 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:08:59.954 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:08:59.958 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:08:59.970 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:09:00.192 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:09:00.192 [E] [DeviceController.go:111]  连接失败 订阅主题失败: not currently connected and ResumeSubs not set
-2025/01/13 17:09:04.941 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:11:11.214 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:11:11.216 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:11:11.378 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:11:11.383 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:11:11.383 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:11:11.383 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:11:11.400 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:11:11.401 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:11:11.617 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:11:16.380 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:11:38.575 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:11:38.584 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:11:38.630 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:11:38.632 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:11:38.647 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:11:38.653 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:11:38.653 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:11:38.669 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:11:38.888 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:11:43.631 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:11:43.744 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:14:16.461 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:14:16.485 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:14:16.545 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:16.551 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:16.551 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:16.553 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:16.554 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:14:16.554 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:16.569 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:16.570 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:21.556 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:14:37.197 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:14:37.198 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:14:37.258 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:37.260 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:37.307 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:37.307 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:4324->182.44.114.126:1883: use of closed network connection
-2025/01/13 17:14:37.307 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:37.310 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:37.311 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:37.315 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:14:42.259 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:15:33.528 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:15:33.555 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:15:33.592 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:4399->182.44.114.126:1883: use of closed network connection
-2025/01/13 17:15:33.612 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:15:33.631 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:15:33.648 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:15:33.650 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:15:33.865 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:15:38.603 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:15:38.634 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:15:57.563 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:15:57.565 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:15:57.619 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:15:57.619 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:15:57.628 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:15:57.631 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:15:57.631 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:15:57.635 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:15:57.636 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:15:57.639 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:15:57.651 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:17:14.267 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:17:14.267 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:17:14.314 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:4552->182.44.114.126:1883: use of closed network connection
-2025/01/13 17:17:14.314 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:4554->182.44.114.126:1883: use of closed network connection
-2025/01/13 17:17:14.368 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:17:14.368 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:17:14.368 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:17:14.386 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:17:14.581 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:17:14.629 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:17:19.331 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:17:19.331 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:17:51.272 [E] [DeviceController.go:242]  连接失败 连接超时
-2025/01/13 17:20:07.431 [E] [DeviceController.go:242]  连接失败 连接超时
-2025/01/13 17:24:11.553 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:24:11.554 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:24:11.634 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:5032->182.44.114.127:1883: use of closed network connection
-2025/01/13 17:24:11.660 [E] [DeviceController.go:111]  连接失败 订阅主题失败: not currently connected and ResumeSubs not set
-2025/01/13 17:24:11.661 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:5042->182.44.114.126:1883: use of closed network connection
-2025/01/13 17:24:11.677 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:24:11.677 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:24:11.694 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:24:11.916 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:24:16.680 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:24:17.200 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:24:35.730 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:24:35.738 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:24:35.789 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:5097->182.44.114.126:1883: use of closed network connection
-2025/01/13 17:24:35.808 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:24:35.808 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:24:35.810 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:24:35.812 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:24:35.830 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:24:36.044 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:24:40.794 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:24:40.810 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:24:41.339 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:26:59.533 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:26:59.559 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392415685637 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:26:59.605 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:5258->182.44.114.126:1883: use of closed network connection
-2025/01/13 17:26:59.609 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:5265->182.44.114.126:1883: use of closed network connection
-2025/01/13 17:26:59.625 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:26:59.626 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:26:59.627 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:26:59.627 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:26:59.628 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:26:59.641 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:26:59.643 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:27:04.634 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:28:50.258 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:28:50.259 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:28:50.315 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:28:50.320 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:5394->182.44.114.126:1883: use of closed network connection
-2025/01/13 17:28:50.332 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:28:50.333 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:28:50.338 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:28:50.339 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:28:55.317 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:28:55.317 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:28:55.438 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:29:24.329 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:29:24.330 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:29:24.401 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:29:24.402 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:29:24.420 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:29:24.645 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:5460->182.44.114.126:1883: use of closed network connection
-2025/01/13 17:29:24.645 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:29:24.645 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:29:29.386 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:29:29.402 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:29:29.498 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:29:41.832 [E] [DeviceController.go:242]  连接失败 连接超时
-2025/01/13 17:29:54.368 [E] [DeviceController.go:242]  连接失败 连接超时
-2025/01/13 17:30:11.837 [E] [DeviceController.go:242]  连接失败 连接超时
-2025/01/13 17:30:24.016 [E] [DeviceController.go:242]  连接失败 连接超时
-2025/01/13 17:30:36.124 [E] [DeviceController.go:242]  连接失败 连接超时
-2025/01/13 17:30:44.071 [E] [DeviceController.go:242]  连接失败 连接超时
-2025/01/13 17:33:13.058 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:33:13.058 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/13 17:33:13.130 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:33:13.131 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:33:13.132 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:33:13.133 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/13 17:33:13.133 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:33:13.133 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:33:13.133 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:33:13.366 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:33:18.132 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/13 17:33:40.221 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/13 17:33:56.003 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 08:52:16.119 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 08:52:49.595 [E] [DeviceController.go:111]  连接失败 订阅主题失败: not currently connected and ResumeSubs not set
-2025/01/14 08:55:41.683 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 08:56:28.308 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 08:57:23.470 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 08:58:54.334 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 08:58:59.330 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/14 09:00:04.161 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 09:03:11.031 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 09:03:11.031 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 09:03:11.101 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:47191->182.44.114.126:1883: use of closed network connection
-2025/01/14 09:03:11.105 [E] [DeviceController.go:111]  连接失败 订阅主题失败: write tcp 192.168.11.49:47194->182.44.114.126:1883: use of closed network connection
-2025/01/14 09:03:11.129 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:03:11.131 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:03:11.147 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:03:11.155 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:03:11.157 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:03:11.357 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:07:20.822 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 09:07:20.822 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 09:07:20.883 [E] [DeviceController.go:111]  连接失败 订阅主题失败: not currently connected and ResumeSubs not set
-2025/01/14 09:07:20.888 [E] [DeviceController.go:111]  连接失败 订阅主题失败: not currently connected and ResumeSubs not set
-2025/01/14 09:07:20.897 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/14 09:07:20.898 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:07:20.899 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:07:20.915 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:07:25.923 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/14 09:07:26.032 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/14 09:07:26.410 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/14 09:09:20.159 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 09:09:20.162 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 09:09:20.210 [E] [DeviceController.go:111]  连接失败 订阅主题失败: not currently connected and ResumeSubs not set
-2025/01/14 09:09:20.210 [E] [DeviceController.go:111]  连接失败 订阅主题失败: not currently connected and ResumeSubs not set
-2025/01/14 09:09:20.215 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:09:20.222 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:09:20.228 [E] [DeviceController.go:111]  连接失败 连接失败: identifier rejected
-2025/01/14 09:09:20.229 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:09:20.231 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:09:20.239 [E] [DeviceController.go:111]  连接失败 订阅主题失败: connection lost before Subscribe completed
-2025/01/14 09:09:25.232 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/14 09:10:01.964 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 09:25:38.312 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 09:39:54.806 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/14 09:39:54.805 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/14 09:39:54.806 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/14 09:39:54.805 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/14 09:39:54.805 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/14 09:39:54.806 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/14 09:39:54.806 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/14 09:39:54.805 [E] [DeviceController.go:111]  连接失败 连接超时
-2025/01/14 10:14:03.712 [E] [DeviceController.go:178]  连接失败 连接超时
-2025/01/14 10:19:27.869 [E] [DeviceController.go:178]  连接失败 连接超时
-2025/01/14 10:20:43.626 [E] [DeviceController.go:178]  连接失败 连接超时
-2025/01/14 10:23:43.937 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 10:24:22.664 [E] [DeviceController.go:179]  连接失败 连接超时
-2025/01/14 10:25:58.056 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 10:26:13.592 [E] [DeviceController.go:179]  连接失败 连接超时
-2025/01/14 10:30:23.625 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 10:30:37.884 [E] [DeviceController.go:181]  连接失败 连接超时
-2025/01/14 11:29:16.935 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 11:31:15.836 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 11:50:46.102 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 13:37:58.788 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 13:46:18.677 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 13:49:37.966 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 14:16:34.668 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 14:17:10.393 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:17:11.354 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:17:12.035 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:17:12.284 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:17:12.660 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:17:13.203 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:17:52.361 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:18:29.291 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:19:19.003 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:19:36.358 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:22:02.875 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 14:22:44.281 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:22:44.304 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:23:55.520 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 14:24:01.404 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:24:18.126 [E] [DeviceController.go:76]  Error getting device sensor parameter for SN: 2024332675927850, 设备不存在 %!v(MISSING) %!v(MISSING)
-2025/01/14 14:24:24.587 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:26:28.286 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 14:26:32.309 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:26:32.363 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:28:03.818 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:28:03.818 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:28:09.011 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:28:09.011 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:29:17.248 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:29:23.795 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:29:25.694 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:29:25.694 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:29:48.834 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:29:48.834 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:29:58.199 [E] [Mqtt.go:250]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:31:07.199 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 14:31:09.727 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:31:09.749 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:31:12.738 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:32:03.962 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:32:09.583 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:33:04.627 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:33:04.627 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:33:07.623 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:33:37.668 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:33:58.663 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:34:04.212 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:34:23.571 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:35:02.622 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:35:19.766 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:35:22.317 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:36:33.661 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:39:53.529 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:26.951 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:41:26.951 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:41:26.960 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:26.961 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:26.984 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:26.984 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:27.012 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:27.013 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:27.013 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:27.013 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:27.013 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:27.013 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:33.362 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:33.395 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:39.751 [E] [DeviceController.go:215]  连接失败 连接超时
-2025/01/14 14:41:51.791 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:41:51.792 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:41:51.797 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:51.799 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:51.820 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:51.820 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:51.820 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:51.820 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:51.820 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:51.820 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:41:59.274 [E] [DeviceController.go:215]  连接失败 连接超时
-2025/01/14 14:42:02.549 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:42:02.571 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:42:02.576 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:02.576 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:02.578 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:02.597 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:02.598 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:02.599 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:02.599 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:02.599 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:09.637 [E] [DeviceController.go:215]  连接失败 连接超时
-2025/01/14 14:42:38.991 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:42:39.013 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:42:39.019 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:39.021 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:39.021 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:39.044 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:39.044 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:39.046 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:39.046 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:42:39.049 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:09.656 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:43:09.656 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:43:09.663 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:09.663 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:09.663 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:09.684 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:09.684 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:09.685 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:09.685 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:09.686 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:10.481 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:43:10.482 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:43:10.490 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:10.491 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:10.512 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:10.512 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:10.512 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:10.512 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:10.512 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:10.542 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:11.127 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:43:11.148 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/14 14:43:11.156 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:11.156 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:11.156 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:11.178 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:11.178 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:11.178 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:11.179 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 14:43:11.179 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:08:56.476 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:08:56.552 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:08:56.624 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:08:56.927 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:08:57.185 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:08:57.218 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:08:58.394 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:09:06.186 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:09:06.433 [E] [Mqtt.go:253]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:11:50.816 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 15:12:27.391 [E] [Mqtt.go:334]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:12:30.880 [E] [Mqtt.go:334]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:20:46.642 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 15:20:51.337 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:20:51.360 [E] [DeviceController.go:219]  连接失败 订阅失败
-2025/01/14 15:20:52.246 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:21:38.856 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:21:45.025 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:21:45.040 [E] [DeviceController.go:219]  连接失败 连接失败: status can only transition to connecting from disconnected
-2025/01/14 15:21:53.811 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:21:53.824 [E] [DeviceController.go:219]  连接失败 连接失败: status can only transition to connecting from disconnected
-2025/01/14 15:23:33.912 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:23:35.590 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:23:35.604 [E] [DeviceController.go:219]  连接失败 连接失败: status can only transition to connecting from disconnected
-2025/01/14 15:24:50.659 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 15:24:52.506 [E] [Mqtt.go:351]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:24:56.700 [E] [Mqtt.go:351]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:24:56.721 [E] [DeviceController.go:219]  连接失败 订阅失败
-2025/01/14 15:25:09.296 [E] [Mqtt.go:351]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:25:09.348 [E] [DeviceController.go:219]  连接失败 订阅失败
-2025/01/14 15:27:12.124 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 15:27:20.595 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:32:03.323 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:32:03.345 [E] [DeviceController.go:219]  连接失败 订阅失败
-2025/01/14 15:32:04.252 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:40:41.385 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 15:41:05.559 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:41:09.853 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:41:10.845 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:48:10.794 [E] [Mqtt.go:349]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 15:48:29.615 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 16:05:32.242 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 16:20:37.342 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:20:37.682 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:20:38.006 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:20:38.997 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:20:39.206 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:21:17.244 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:21:17.580 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:21:31.158 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:21:31.501 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:21:31.869 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:21:45.596 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:34:34.489 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 16:35:16.186 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:35:31.334 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:35:32.246 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:38:05.492 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 16:39:35.861 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:39:36.962 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:39:40.005 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:39:58.653 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:41:04.453 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:41:07.495 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:41:27.241 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:42:57.259 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 16:43:04.602 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:43:07.636 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:43:17.493 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:44:41.323 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:44:44.364 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:45:05.213 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:45:30.007 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:45:33.066 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:45:41.652 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:46:23.087 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 16:46:26.826 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:46:29.860 [E] [Mqtt.go:377]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:48:38.912 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 16:48:43.038 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:48:46.075 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:48:56.428 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:50:14.091 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:50:17.135 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:51:06.328 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:51:07.636 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:51:10.672 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:51:24.576 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:52:11.558 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 16:52:15.650 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:52:18.691 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:52:28.872 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:53:20.776 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 16:53:28.795 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:53:31.825 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:53:41.301 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:54:04.236 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:54:07.273 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:54:20.859 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:55:53.936 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:55:54.112 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 16:59:54.016 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 17:00:08.344 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 17:00:14.267 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:00:18.144 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:00:21.181 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:00:32.412 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:01:06.634 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:01:09.676 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:01:19.550 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:03:07.100 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 17:03:12.994 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:03:16.032 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:03:30.678 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:07:31.360 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 17:07:34.832 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:07:36.966 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:07:40.007 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:07:47.578 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:10:02.541 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 17:10:09.402 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:10:11.095 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:10:14.136 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:10:33.528 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:11:27.983 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/14 17:11:32.499 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:11:35.541 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:11:49.484 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:13:11.051 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:13:14.090 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/14 17:13:24.465 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:04:27.725 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 10:05:08.385 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 10:05:15.618 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024332675927850 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 10:05:15.676 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:05:18.759 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:05:21.794 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:05:52.329 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:05:52.941 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:08:57.651 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:08:57.990 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:08:58.266 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:09:03.074 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:09:03.405 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:09:03.738 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:09:08.165 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:09:48.605 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:09:48.934 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:09:49.268 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:09:54.849 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:09:55.174 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:09:55.509 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:10:07.142 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:10:07.803 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:10:12.898 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:11:12.589 [E] [DeviceController.go:511]  连接失败 连接失败: network Error : dial tcp: lookup mqttjxit.coldbaozhida.com: no such host
-2025/01/15 10:12:06.653 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:12:20.173 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:12:48.208 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:13:48.132 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:13:48.491 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:13:52.147 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:14:24.399 [E] [Mqtt.go:398]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:17:03.480 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 10:20:20.407 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 10:22:35.108 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 10:30:13.145 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 10:32:08.656 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 10:32:45.819 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 10:37:35.847 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 10:45:11.006 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 10:57:38.117 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 10:58:38.488 [E] [Mqtt.go:463]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:58:40.144 [E] [Mqtt.go:463]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 10:58:41.742 [E] [Mqtt.go:463]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:00:26.032 [E] [Mqtt.go:463]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:00:27.253 [E] [Mqtt.go:463]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:00:27.976 [E] [Mqtt.go:463]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:08:35.615 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 11:08:42.542 [E] [Mqtt.go:491]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:09:00.651 [E] [Mqtt.go:491]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:09:08.950 [E] [Mqtt.go:491]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:11:25.684 [E] [Mqtt.go:491]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:12:02.997 [E] [Mqtt.go:491]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:12:09.284 [E] [Mqtt.go:491]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:13:43.487 [E] [Mqtt.go:491]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:15:01.405 [E] [Mqtt.go:491]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:24:55.256 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 11:26:57.502 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:26:57.548 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:28:46.182 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:28:46.228 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:30:04.582 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:30:04.854 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:33:26.692 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 11:33:26.693 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 11:33:26.699 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:33:26.700 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:33:26.726 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:33:26.753 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:33:26.760 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:33:26.760 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:33:26.760 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:33:26.760 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:33:46.961 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:33:49.998 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:34:52.960 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:34:52.960 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:34:52.960 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:34:52.961 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:34:52.997 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:34:52.997 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:34:52.997 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:35:20.633 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 11:35:20.635 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 11:35:20.640 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:35:20.676 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:37:21.778 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:37:24.834 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:37:33.979 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:37:34.011 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:37:34.032 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:37:41.958 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:37:44.996 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:38:32.779 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:38:32.779 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:38:32.779 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:38:32.779 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:38:37.090 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:38:40.125 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:48:20.285 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 11:56:00.652 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 11:57:08.320 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 12:01:49.058 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 12:01:51.274 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:24:36.039 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 13:28:06.252 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:28:43.063 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:28:58.329 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:28:58.375 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:32:32.096 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:32:56.036 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:32:56.085 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:36:11.156 [E] [Mqtt.go:490]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:41:38.615 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 13:42:07.579 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:42:07.579 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:42:07.589 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:42:07.647 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:42:07.655 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:42:07.657 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:42:25.422 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:42:26.696 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:42:42.468 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:42:42.469 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:42:42.503 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:42:42.503 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:42:42.503 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:42:51.543 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:42:54.577 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:06.661 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:06.661 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:06.661 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:06.684 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:06.684 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:06.684 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:06.684 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:06.684 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:06.684 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:06.715 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:17.210 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:19.787 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:29.425 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:32.475 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:41.380 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:43:44.422 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:06.332 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:46:06.333 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:46:06.362 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:06.367 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:06.367 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:12.853 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:46:12.853 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:46:12.882 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:12.883 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:12.883 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:36.951 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:36.952 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:36.952 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:36.974 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:36.974 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:36.974 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:36.974 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:36.974 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:36.974 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:44.079 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:46:45.403 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:28.565 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:47:28.566 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:47:28.592 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:28.596 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:28.598 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:31.322 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:31.322 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:31.343 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:31.343 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:31.355 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:31.357 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:31.969 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:31.970 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:42.325 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:45.365 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:53.645 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:47:56.687 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:48:05.121 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:52:21.209 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:52:21.258 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:55:02.302 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:55:11.571 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:55:56.351 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:56:39.730 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:56:41.249 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:56:46.243 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:56:46.247 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:56:46.271 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:56:46.276 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:56:46.276 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:56:48.496 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:56:48.516 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:56:48.516 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:56:48.516 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:56:48.516 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:56:48.516 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:56:48.516 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:17.332 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:18.815 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:24.529 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:25.943 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:29.402 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:30.981 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:33.340 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:34.200 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:37.233 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:40.687 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:57:40.688 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:57:40.721 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:40.721 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:40.722 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:42.511 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:42.538 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:42.538 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:42.538 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:49.836 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:51.355 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:54.580 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:57.624 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:58.307 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:57:59.432 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:00.752 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:03.952 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:04.941 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:05.533 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:09.589 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:58:09.590 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:58:09.614 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:09.616 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:09.616 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:14.155 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:58:14.155 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392415685637 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:58:14.159 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:14.163 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:14.163 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:14.180 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:14.180 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:14.187 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:14.187 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:14.187 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:14.188 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:14.188 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:15.891 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:18.935 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:20.540 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:23.568 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:25.294 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:26.864 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:32.254 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:58:32.255 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:58:32.288 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:32.288 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:32.288 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:35.259 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:58:35.284 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392415685637 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 13:58:35.292 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:35.292 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:35.292 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:35.315 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:35.315 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:35.317 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:35.318 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:35.318 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:58:35.318 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:59:14.318 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 13:59:51.204 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:14.115 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:15.664 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:19.169 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:21.176 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:22.202 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:24.480 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:00:24.484 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:00:24.484 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:24.510 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:24.511 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:28.034 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:00:28.055 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392415685637 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:00:28.064 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:28.064 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:28.064 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:28.085 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:28.086 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:28.086 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:28.086 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:28.088 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:29.494 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023399638943041 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:00:29.494 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392371484307 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:00:29.527 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:29.527 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:31.321 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:00:31.321 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:00:31.348 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:31.348 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:31.349 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:45.484 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:00:54.015 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:01:45.626 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:01:45.647 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:01:45.654 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:01:45.671 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:01:45.673 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:03:22.453 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:03:22.474 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:03:22.482 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:03:22.508 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:03:22.510 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:05:39.553 [E] [Mqtt.go:488]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:06:11.786 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 14:06:52.797 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:07:00.063 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:07:00.065 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:07:00.124 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:07:00.124 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:07:00.125 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:07:30.761 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:07:30.762 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:07:30.789 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:07:30.790 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:07:30.790 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:10:51.192 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:11:39.684 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:12:01.433 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:12:01.661 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:12:26.326 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:12:56.762 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:12:56.808 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:12:56.857 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:12:56.904 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:13:25.451 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:13:45.214 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:13:45.215 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:13:45.245 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:13:45.245 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:13:45.246 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:14:10.055 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:14:10.105 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:14:22.883 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:44.913 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:18:44.914 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:18:44.943 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:44.943 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:44.944 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:47.359 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:18:47.382 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392415685637 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:18:47.388 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:47.388 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:47.410 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:47.410 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:47.410 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:47.410 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:47.410 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:47.410 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:48.905 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392371484307 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:18:48.905 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023399638943041 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:18:48.932 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:48.932 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:50.088 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:18:50.091 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:18:50.095 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:50.115 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:18:50.119 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:19:56.769 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 14:20:03.291 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:20:03.294 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:20:03.357 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:03.358 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:03.367 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:10.994 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:20:10.994 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:20:11.000 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:11.058 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:11.058 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:41.198 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:20:41.219 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:20:41.226 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:41.247 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:41.249 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:57.440 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:20:57.462 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392415685637 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:20:57.466 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:57.470 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:57.490 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:57.490 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:57.490 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:57.490 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:57.490 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:57.491 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:58.794 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392371484307 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:20:58.795 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023399638943041 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:20:58.821 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:20:58.821 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:21:00.191 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:21:00.192 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:21:00.218 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:21:00.218 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:21:00.218 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:21:52.774 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:21:52.776 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:21:52.803 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:21:52.806 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:21:52.806 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:22:37.375 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:22:37.376 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:22:37.404 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:22:37.404 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:22:37.404 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:22:39.972 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:22:39.974 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:22:40.000 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:22:40.000 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:22:40.000 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:23:18.829 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:23:18.829 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:23:18.857 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:23:18.857 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:23:18.857 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:23:46.285 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:23:46.374 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:23:51.203 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:23:51.203 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 14:23:51.232 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:23:51.234 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:23:51.234 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:24:37.004 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:24:37.057 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:27:54.396 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:29:37.416 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:29:50.078 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:30:32.558 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.106 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.151 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.205 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.252 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.304 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.356 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.399 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.443 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.481 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.521 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.594 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.635 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.675 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.719 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.768 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.811 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.855 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.917 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:29.962 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.012 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.061 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.123 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.166 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.208 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.254 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.320 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.412 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.475 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.554 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.600 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.640 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.684 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.728 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.775 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.823 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:33:30.865 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:35:59.573 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:39:46.183 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:48:11.996 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:56:16.835 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:58:21.114 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:59:18.117 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 14:59:18.185 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:02:17.637 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:02:25.263 [E] [Mqtt.go:492]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:03:51.149 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 15:04:05.108 [E] [Mqtt.go:526]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:04:21.804 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:04:21.805 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:04:21.861 [E] [Mqtt.go:526]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:04:21.862 [E] [Mqtt.go:526]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:04:34.534 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:04:34.555 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:04:34.562 [E] [Mqtt.go:526]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:04:34.585 [E] [Mqtt.go:526]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:04:35.508 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:04:35.509 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:04:35.536 [E] [Mqtt.go:526]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:04:35.536 [E] [Mqtt.go:526]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:04:36.301 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:04:36.301 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:04:36.330 [E] [Mqtt.go:526]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:04:36.330 [E] [Mqtt.go:526]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:04:37.317 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:04:37.338 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:04:37.345 [E] [Mqtt.go:526]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:04:37.367 [E] [Mqtt.go:526]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:06:04.810 [E] [Mqtt.go:526]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:06:07.409 [E] [Mqtt.go:526]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:07:05.739 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 15:07:05.813 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:07:05.815 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:07:05.843 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:07:05.871 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:07:39.691 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:07:39.691 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:07:39.724 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:07:39.724 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:09:47.097 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:09:47.119 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:09:47.125 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:09:47.145 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:09:51.178 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:09:51.201 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392415685637 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:09:51.205 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:09:51.205 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:09:51.209 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:09:51.229 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:09:51.230 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:09:51.230 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:09:51.230 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:09:51.250 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:10:01.543 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:10:01.543 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:10:01.545 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:10:01.545 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:10:01.545 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:10:01.545 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:10:01.545 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:10:01.563 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:10:34.719 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:10:34.719 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:10:34.745 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:10:34.745 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:10:36.565 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:10:36.587 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392415685637 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:12:12.837 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:12:12.837 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:12:12.871 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:12:12.872 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:12:14.246 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:12:14.270 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392415685637 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:13:23.197 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:13:23.197 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:13:23.225 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:13:23.225 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:13:26.497 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:13:26.519 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392415685637 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:13:44.109 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:13:44.109 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:13:44.138 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:13:44.140 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:13:45.847 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:13:45.847 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392415685637 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:14:59.765 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:14:59.785 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:14:59.790 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:14:59.825 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:15:01.233 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:15:01.253 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392415685637 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:17:46.993 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392371484307 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:17:46.993 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023399638943041 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:17:47.021 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:17:47.021 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:18:01.726 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:18:04.755 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:18:09.612 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:18:12.741 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:18:12.742 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:18:12.770 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:18:12.770 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:19:12.739 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:21:00.688 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:21:00.710 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:21:00.719 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:21:00.741 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:21:07.201 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:21:12.470 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392371484307 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:21:12.470 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023399638943041 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:21:12.498 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:21:12.498 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:21:13.874 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:21:13.874 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:21:13.902 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:21:13.902 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:21:55.220 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:21:55.242 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:21:55.250 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:21:55.268 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:21:59.100 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:22:16.856 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:22:16.856 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:22:16.884 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:22:16.885 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:22:33.912 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:22:33.912 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:22:33.940 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:22:33.940 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:23:29.543 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:23:47.386 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:24:19.583 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:24:19.626 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:24:19.628 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:24:19.654 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:25:38.086 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:25:38.105 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:25:38.113 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:25:38.132 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:26:44.034 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:26:44.035 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:26:44.066 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:26:44.066 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:26:47.089 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:26:47.089 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:26:47.118 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:26:47.118 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:27:05.121 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:27:05.123 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:27:05.147 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:27:05.156 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:27:16.058 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:27:16.078 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:27:16.085 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:27:16.105 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:27:36.638 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:27:36.658 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:27:36.665 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:27:36.686 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:27:42.533 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:27:42.533 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:27:42.562 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:27:42.562 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:29:07.736 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:29:07.736 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:29:07.763 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:29:07.763 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:29:11.218 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:29:11.218 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:29:11.246 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:29:11.246 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:29:18.488 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:29:20.601 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392371484307 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:29:20.601 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023399638943041 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:29:20.640 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:29:20.640 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:29:22.154 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:29:24.085 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:29:24.085 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:29:24.120 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:29:24.120 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:31:41.709 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:32:50.286 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 15:33:01.829 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:33:01.829 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:33:01.884 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:33:01.884 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:33:12.551 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:33:12.553 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:33:12.581 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:33:12.581 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:33:29.774 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:33:29.774 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:33:29.802 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:33:29.803 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:33:33.330 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:33:34.453 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:33:34.453 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:33:34.482 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:33:34.482 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:35:35.871 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:35:35.872 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:35:35.900 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:35:35.900 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:36:22.051 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:36:22.070 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:36:22.078 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:36:22.097 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:44:14.326 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:44:19.753 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392371484307 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:44:19.753 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023399638943041 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:44:19.781 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:44:19.782 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:44:21.057 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:44:21.079 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 15:44:21.085 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:44:21.107 [E] [Mqtt.go:527]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 15:56:23.151 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 16:00:48.717 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:00:48.768 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:00:48.814 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:00:48.860 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:04:38.244 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 16:06:46.131 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:06:46.197 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:06:48.434 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:06:48.435 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:06:48.468 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:06:48.496 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:06:51.827 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:06:53.359 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392371484307 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:06:53.360 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023399638943041 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:06:53.387 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:06:53.387 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:06:54.959 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:06:54.959 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:06:54.991 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:06:54.991 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:06:56.390 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:10:33.512 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:12:02.735 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:12:02.788 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:12:03.963 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392371484307 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:12:03.963 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023399638943041 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:12:04.001 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:12:04.001 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:12:05.167 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:14:05.419 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:14:05.420 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:14:05.450 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:14:05.451 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:14:07.471 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023397176542638 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:14:08.010 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023392371484307 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:14:08.010 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2023399638943041 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:14:08.039 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:14:08.040 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:14:09.034 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:14:09.038 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:14:09.063 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:14:09.067 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:23:23.494 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 16:23:42.704 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:24:38.061 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:24:38.064 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:24:38.094 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:24:38.094 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:25:15.131 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:25:15.181 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:26:22.702 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:26:25.548 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:26:28.582 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:26:38.133 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:26:41.600 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:26:44.030 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:31:31.835 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:33:36.372 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:34:04.622 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:34:04.669 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:39:30.413 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:40:36.183 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:40:36.184 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:40:36.214 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:40:36.214 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:41:24.115 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 16:41:28.481 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:41:28.504 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024525287614893 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
-2025/01/15 16:41:28.510 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:41:28.562 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:41:42.582 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:42:46.920 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
-2025/01/15 16:42:47.232 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:44:06.658 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:50:39.825 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:53:16.245 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 16:58:42.600 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 17:02:03.620 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 17:02:03.909 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 17:04:50.815 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 17:06:34.411 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 17:06:34.411 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 17:06:41.419 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 17:06:41.419 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 17:06:42.570 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
-2025/01/15 17:06:42.591 [E] [Mqtt.go:535]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:37:29.785 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 08:38:15.069 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:38:29.166 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:44:03.465 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:44:20.465 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:45:29.890 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:47:42.024 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:52:23.811 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:52:24.425 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:52:32.642 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:52:32.856 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:52:41.973 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:52:43.493 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:52:54.281 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:53:03.198 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:53:12.706 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:53:59.371 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:58:12.755 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 08:59:42.420 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 09:00:41.283 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024337792594540 WHERE t_id = 348 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 09:00:41.293 [E] [DeviceData.go:180]  ColdP_server/models/Device.Read_DeviceData <QuerySeter> no row found
+2025/01/17 09:00:41.314 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 09:06:19.695 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 09:06:51.581 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 09:08:11.388 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 09:13:47.133 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 09:14:14.046 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 09:23:26.848 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 09:27:10.017 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 09:27:19.987 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:41:05.497 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 10:41:19.234 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:41:58.276 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:42:00.068 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:42:00.121 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:42:06.782 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:42:06.833 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:42:09.220 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:42:09.271 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:42:22.757 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:42:45.850 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:44:37.869 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:44:47.472 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:45:44.785 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:45:49.641 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:46:51.850 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:46:54.071 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:46:57.128 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:47:07.116 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:47:10.223 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:47:26.698 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:47:28.529 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:47:47.829 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:47:52.721 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:48:14.695 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:48:44.508 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:49:22.085 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:49:58.243 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:50:05.909 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:50:13.404 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:50:21.996 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:50:24.225 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:50:28.511 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:50:30.457 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:50:41.787 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:50:43.864 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:51:08.046 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:51:38.208 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:51:41.029 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:52:11.960 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:52:40.436 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:53:37.203 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:53:40.235 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:53:47.757 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:53:55.515 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:54:26.819 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:55:09.998 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:55:23.242 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:55:34.273 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:55:57.171 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:56:02.189 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:56:27.572 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:56:40.374 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:58:13.106 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:58:19.010 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:58:22.627 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:58:31.337 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:58:33.951 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:58:40.080 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:59:19.267 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 10:59:52.703 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:00:01.062 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:00:01.138 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:00:03.553 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:00:10.172 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:00:18.742 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:00:28.174 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:00:28.723 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:00:57.400 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:02:07.667 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 11:03:05.059 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:03:09.130 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:03:13.109 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:03:28.731 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:03:37.363 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:03:37.983 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:03:55.202 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:03:58.331 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:03:59.476 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:04:16.896 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:04:48.230 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:05:24.312 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:05:31.500 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:05:58.997 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 11:06:16.041 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:06:51.687 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:07:05.303 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:07:33.307 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:08:00.594 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:08:20.401 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:08:21.562 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:08:30.485 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:08:38.443 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:08:57.253 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:08:57.351 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:09:37.985 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:09:38.232 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:09:40.353 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:09:51.570 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:09:51.631 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:09:56.902 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:09:56.962 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:10:14.888 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:10:18.599 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:12:32.038 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:12:36.484 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:13:33.044 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:13:34.430 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:13:37.637 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:13:37.745 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:14:38.631 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:14:38.730 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:14:40.053 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:14:42.423 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:14:52.492 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:15:45.732 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:15:58.963 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:16:05.052 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:16:28.272 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:17:14.920 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:17:17.200 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:17:18.763 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:19:16.288 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:19:39.335 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:19:41.842 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:20:09.168 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:20:36.528 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:20:36.621 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:20:52.097 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:21:09.433 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:21:09.519 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:21:56.686 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:22:16.043 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 11:22:30.642 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:22:37.485 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:22:38.795 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:22:42.268 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:23:30.093 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:23:34.582 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:23:57.090 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:23:57.179 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:24:08.511 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:24:21.645 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:24:21.727 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:24:56.380 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:25:14.480 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 11:25:14.653 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:26:02.295 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:26:13.214 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:26:20.126 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:27:31.456 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:27:31.528 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:27:38.467 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:27:44.611 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:27:44.913 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:27:45.004 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:27:52.879 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:28:36.451 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:28:55.531 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 11:28:58.394 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:28:58.487 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:29:11.742 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:29:16.664 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:29:16.763 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:29:16.856 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:29:22.902 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:29:37.115 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:29:37.211 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:29:37.290 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:29:43.143 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:29:43.569 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:29:44.714 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:29:57.645 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:29:57.954 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:30:34.633 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:31:00.882 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 11:31:09.403 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:31:09.496 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:31:56.709 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:31:56.803 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:33:29.324 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:33:29.420 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:33:30.037 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 11:33:41.920 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:33:41.997 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:34:02.993 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:34:17.934 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:34:18.077 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:34:31.553 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:34:38.343 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:34:38.422 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:35:45.620 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:35:48.917 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:36:09.969 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:36:29.078 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:36:37.433 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:36:40.978 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:36:43.348 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:36:45.855 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:36:46.895 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:36:47.044 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:37:05.580 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:37:11.164 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:37:25.111 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:37:25.218 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:38:04.527 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:38:11.604 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:38:43.476 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:38:45.438 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:39:07.513 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:39:48.256 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:39:50.449 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:40:23.601 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 11:40:44.482 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:40:51.476 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:40:55.158 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:41:12.768 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:41:17.045 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:41:39.682 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:42:14.477 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:42:25.149 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 11:42:31.948 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:42:55.402 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:43:15.312 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:43:29.795 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:43:30.000 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:43:30.076 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:43:30.318 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:43:30.381 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:44:10.222 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:44:15.178 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:44:37.409 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:44:40.762 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:44:46.517 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:44:52.799 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:45:01.665 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:47:05.487 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:47:11.795 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:48:08.363 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:48:17.063 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:49:37.031 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:49:42.606 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:49:58.506 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:50:02.905 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:50:07.494 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:50:10.757 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:50:12.282 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:50:18.332 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:50:20.473 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:50:23.950 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:50:25.914 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:50:26.972 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:50:36.784 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:50:43.777 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:50:55.591 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:51:08.268 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 11:51:17.676 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 12:35:56.239 [E] [Mqtt.go:452]  查询参数失败
+2025/01/17 13:45:32.875 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 13:45:35.314 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 13:45:41.501 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 13:45:43.813 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 13:49:04.339 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 13:49:23.669 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 13:54:32.590 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 13:54:34.096 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 13:55:08.321 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 13:55:11.326 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 13:58:10.895 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 13:59:06.659 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:00:11.602 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:00:27.270 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:00:46.370 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:02:52.528 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:04:03.319 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:05:02.311 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:05:58.581 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:06:59.319 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:07:00.162 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:08:39.043 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:08:45.083 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:09:07.268 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:10:53.762 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:10:55.251 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:11:03.926 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:11:06.840 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:11:18.847 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 14:11:53.175 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 14:12:21.223 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:12:40.328 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:18:47.194 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:18:48.399 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:18:53.868 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:10.749 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:11.676 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:18.814 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:23.340 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:25.916 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:26.718 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:32.332 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:33.507 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:34.901 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:35.560 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:38.159 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:39.079 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:46.537 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:49.598 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:51.135 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:51.281 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:54.581 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:19:56.085 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:20:00.439 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:20:08.166 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:20:09.411 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:20:16.348 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:20:20.957 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:20:21.576 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:20:30.659 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:22:14.620 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:22:39.275 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:22:55.035 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:25:59.652 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:27:52.379 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:28:41.844 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:29:27.876 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:29:28.918 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:29:37.756 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:29:37.952 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:31:11.502 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:32:36.721 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 14:33:05.048 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 14:39:25.215 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 14:41:13.157 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 14:47:45.081 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:47:45.321 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:47:47.626 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:47:56.373 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 14:47:56.526 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:06:06.342 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:06:22.681 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:10:33.777 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:12:59.561 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:20:36.466 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:21:22.047 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:23:14.251 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:23:37.275 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:29:50.238 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:31:40.552 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:33:39.677 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:34:02.084 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 15:36:27.194 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 15:37:50.813 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 15:38:52.627 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:39:07.898 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:39:21.328 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:39:21.868 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:39:34.325 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:40:00.238 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:48:53.129 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 15:53:12.615 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 16:00:34.080 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:00:34.145 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:00:34.520 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:02:48.886 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:02:49.005 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:02:49.083 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:02:49.143 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:02:49.441 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:09:24.031 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:09:42.143 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:13:20.917 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:13:20.999 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:30:04.998 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:30:05.075 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:33:25.845 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:35:37.623 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 16:36:13.730 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 16:36:29.462 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:36:29.540 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:48:43.235 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:49:28.862 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:51:02.684 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:55:11.167 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:55:28.167 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:57:37.391 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:57:37.737 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:57:38.307 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:57:45.599 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:58:09.852 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:58:10.169 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:58:24.463 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:58:25.134 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:59:02.398 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861689861602934 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 16:59:02.398 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861551058070145 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 16:59:02.431 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:59:02.431 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:59:37.165 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861689861602934 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 16:59:37.165 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861551058070145 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 16:59:37.226 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:59:37.226 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:59:42.143 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:59:43.204 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:59:45.217 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:59:46.279 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:59:46.918 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 16:59:46.918 [E] [DeviceController.go:526]  发送失败
+2025/01/17 17:00:36.007 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861551058070145 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 17:00:36.040 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861689861602934 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 17:00:36.051 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:00:36.085 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:00:37.304 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:00:40.377 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:02:46.022 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861551058070145 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 17:02:46.051 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861689861602934 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 17:02:46.060 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:02:46.086 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:02:57.428 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861551058070145 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 17:02:57.429 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861689861602934 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 17:02:57.489 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:02:57.489 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:03:05.236 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861551058070145 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 17:03:05.271 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861689861602934 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 17:03:05.282 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:03:05.314 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:03:07.808 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861551058070145 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 17:03:07.853 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_YD861689861602934 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/17 17:03:07.872 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:03:07.910 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:05:48.094 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:08:54.380 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:12:07.005 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:13:08.680 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/17 17:13:45.346 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 17:19:01.229 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 17:20:56.811 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 17:25:55.047 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 17:27:30.558 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/17 17:28:41.330 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/18 11:15:11.476 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/18 11:26:23.926 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/18 11:31:52.720 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/18 11:32:06.798 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/18 12:08:16.371 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/18 12:12:29.967 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/18 12:25:29.084 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/18 12:37:04.744 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/18 12:37:20.895 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024337792594540 WHERE t_id = 348 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/18 12:37:20.932 [E] [DeviceData.go:180]  ColdP_server/models/Device.Read_DeviceData <QuerySeter> no row found
+2025/01/18 12:37:21.027 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/18 12:39:28.155 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 08:51:27.933 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/20 09:00:53.151 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:04:45.868 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:08:04.845 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:13:41.433 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:14:29.975 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:14:30.305 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:14:30.637 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:14:35.396 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:17:20.651 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:20:53.388 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:28:37.885 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:28:37.938 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:37:27.699 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:40:46.576 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:41:26.604 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:42:17.983 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:42:24.126 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:42:35.814 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:48:20.593 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:54:46.441 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:57:11.418 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 09:58:22.272 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 10:02:45.690 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024337792594540 WHERE t_id = 348 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/20 10:02:45.700 [E] [DeviceData.go:180]  ColdP_server/models/Device.Read_DeviceData <QuerySeter> no row found
+2025/01/20 10:02:45.727 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 10:06:57.962 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 10:12:51.447 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 10:13:12.965 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 10:17:26.822 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 10:18:13.975 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/20 10:28:21.637 [E] [Mqtt.go:452]  查询参数失败
+2025/01/20 14:50:21.077 [E] [Mqtt.go:452]  查询参数失败
+2025/01/21 13:34:50.104 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/21 13:35:23.416 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024463067581749 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/21 13:35:23.417 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024466601897452 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/21 13:35:23.417 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024422691162353 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/21 13:35:23.417 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024422691162353 WHERE t_id = 2 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/21 13:35:23.497 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/21 13:35:23.497 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/21 13:35:23.498 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/21 13:35:30.700 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/21 13:35:33.742 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/21 13:35:44.781 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/21 13:35:47.824 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/21 13:35:55.778 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/21 13:35:55.778 [E] [DeviceController.go:526]  发送失败
+2025/01/21 13:36:01.521 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/21 13:36:01.521 [E] [DeviceController.go:526]  发送失败
+2025/01/21 13:36:05.414 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/21 13:36:08.457 [E] [Mqtt.go:536]  ColdP_server/controllers/MqttServer.FindClodpServerBySnAndId <QuerySeter> no row found
+2025/01/21 15:25:22.318 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/21 15:26:51.439 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/21 15:27:02.458 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024462674079198 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/21 15:27:26.678 [D] [DeviceData.go:177]  SELECT t_id,t_sp,t_t,t_rh,t_site,DATE_FORMAT(t_time,'%Y-%m-%d %H:%i:%s') AS t_time,t_time AS t_time1 FROM z_device_data_2024462674079198 WHERE t_id = 1 ORDER BY t_time1 DESC LIMIT 0,1
+2025/01/21 15:30:27.793 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/21 15:37:42.069 [I] [WarningType.go:193]  =========== 初始化报警类型 =========
+2025/01/22 09:57:50.411 [I] [WarningType.go:193]  =========== 初始化报警类型 =========

+ 2 - 0
models/Account/Admin.go

@@ -43,6 +43,7 @@ type Admin_R struct {
 	T_phone string // 电话
 	T_mail  string // 邮箱
 	T_wx    string // 微信
+	T_State int    //  0删除  1 正常
 }
 
 type Admin_ struct {
@@ -60,6 +61,7 @@ func AdminToAdmin_R(r Admin) (v Admin_R) {
 	v.T_phone = r.T_phone
 	v.T_mail = r.T_mail
 	v.T_wx = r.T_wx
+	v.T_State = r.T_State
 
 	return v
 }

+ 63 - 0
models/Account/ColdUserTokey.go

@@ -0,0 +1,63 @@
+package Account
+
+import (
+	"ColdP_server/conf"
+	"fmt"
+	"github.com/astaxie/beego/cache"
+	_ "github.com/astaxie/beego/cache/redis"
+	uuid "github.com/satori/go.uuid"
+	"time"
+)
+
+var redisColdUserTokey cache.Cache
+
+func init() {
+	//注册模型
+	//orm.RegisterModel(new(Tokey))
+
+	config := fmt.Sprintf(`{"key":"%s","conn":"%s","dbNum":"%s","password":"%s"}`,
+		"redisColdUserTokey", conf.Redis_address, conf.Redis_dbNum, conf.Redis_password)
+	fmt.Println(config)
+	var err error
+	redisColdUserTokey, err = cache.NewCache("redis", config)
+	if err != nil || redisColdUserTokey == nil {
+		errMsg := "failed to init redis"
+		fmt.Println(errMsg, err)
+	}
+}
+
+// ---------------- Redis -------------------
+// Redis_Set(m.T_sn,m) // Redis 更新缓存
+func Add_Tokey_Set(Uuid, Pid string) string {
+	var Tokey string
+	for true {
+		Tokey = uuid.NewV4().String()
+		if !redisColdUserTokey.IsExist(Tokey) {
+			break
+		}
+		fmt.Print("申请 TOKEY 重复!重新生成。", Tokey)
+	}
+	userLoginInfo := fmt.Sprintf("%s|%s", Uuid, Pid)
+	redisColdUserTokey.Put(Tokey, userLoginInfo, 2*time.Hour)
+
+	return Tokey
+}
+
+// if r,is :=Redis_Get(T_sn);is{
+// return r,nil
+// }
+func Redis_Tokey_Get(Tokey string) (string, bool) {
+	if len(Tokey) < 10 {
+		return "", false
+	}
+	if redisColdUserTokey.IsExist(Tokey) {
+		//println("找到key:",key)
+		v := redisColdUserTokey.Get(Tokey)
+		value := string(v.([]byte)) //这里的转换很重要,Get返回的是interface
+
+		redisColdUserTokey.Put(Tokey, value, 2*time.Hour) //  重新计次
+		return value, true
+	}
+	//println("没有 找到key:",key)
+	return "", false
+}

+ 62 - 61
models/Account/Tokey.go

@@ -1,63 +1,64 @@
 package Account
 
-import (
-	"ColdP_server/conf"
-	"fmt"
-	"github.com/astaxie/beego/cache"
-	_ "github.com/astaxie/beego/cache/redis"
-	uuid "github.com/satori/go.uuid"
-	"time"
-)
-
-var redisCache_Tokey cache.Cache
-
-func init() {
-	//注册模型
-	//orm.RegisterModel(new(Tokey))
-
-	config := fmt.Sprintf(`{"key":"%s","conn":"%s","dbNum":"%s","password":"%s"}`,
-		"redis_Cold_User_Tokey", conf.Redis_address, conf.Redis_dbNum, conf.Redis_password)
-	fmt.Println(config)
-	var err error
-	redisCache_Tokey, err = cache.NewCache("redis", config)
-	if err != nil || redisCache_Tokey == nil {
-		errMsg := "failed to init redis"
-		fmt.Println(errMsg, err)
-	}
-}
-
-// ---------------- Redis -------------------
-// Redis_Set(m.T_sn,m) // Redis 更新缓存
-func Add_Tokey_Set(Uuid, Pid string) string {
-	var Tokey string
-	for true {
-		Tokey = uuid.NewV4().String()
-		if !redisCache_Tokey.IsExist(Tokey) {
-			break
-		}
-		fmt.Print("申请 TOKEY 重复!重新生成。", Tokey)
-	}
-	userLoginInfo := fmt.Sprintf("%s|%s", Uuid, Pid)
-	redisCache_Tokey.Put(Tokey, userLoginInfo, 2*time.Hour)
-
-	return Tokey
-}
-
-// if r,is :=Redis_Get(T_sn);is{
-// return r,nil
-// }
-func Redis_Tokey_Get(Tokey string) (string, bool) {
-	if len(Tokey) < 10 {
-		return "", false
-	}
-	if redisCache_Tokey.IsExist(Tokey) {
-		//println("找到key:",key)
-		v := redisCache_Tokey.Get(Tokey)
-		value := string(v.([]byte)) //这里的转换很重要,Get返回的是interface
-
-		redisCache_Tokey.Put(Tokey, value, 2*time.Hour) //  重新计次
-		return value, true
-	}
-	//println("没有 找到key:",key)
-	return "", false
-}
+//
+//import (
+//	"ColdP_server/conf"
+//	"fmt"
+//	"github.com/astaxie/beego/cache"
+//	_ "github.com/astaxie/beego/cache/redis"
+//	uuid "github.com/satori/go.uuid"
+//	"time"
+//)
+//
+//var redisCache_Tokey cache.Cache
+//
+//func init() {
+//	//注册模型
+//	//orm.RegisterModel(new(Tokey))
+//
+//	config := fmt.Sprintf(`{"key":"%s","conn":"%s","dbNum":"%s","password":"%s"}`,
+//		"redis_Cold_User_Tokey", conf.Redis_address, conf.Redis_dbNum, conf.Redis_password)
+//	fmt.Println(config)
+//	var err error
+//	redisCache_Tokey, err = cache.NewCache("redis", config)
+//	if err != nil || redisCache_Tokey == nil {
+//		errMsg := "failed to init redis"
+//		fmt.Println(errMsg, err)
+//	}
+//}
+//
+//// ---------------- Redis -------------------
+//// Redis_Set(m.T_sn,m) // Redis 更新缓存
+//func Add_Tokey_Set(Uuid, Pid string) string {
+//	var Tokey string
+//	for true {
+//		Tokey = uuid.NewV4().String()
+//		if !redisCache_Tokey.IsExist(Tokey) {
+//			break
+//		}
+//		fmt.Print("申请 TOKEY 重复!重新生成。", Tokey)
+//	}
+//	userLoginInfo := fmt.Sprintf("%s|%s", Uuid, Pid)
+//	redisCache_Tokey.Put(Tokey, userLoginInfo, 2*time.Hour)
+//
+//	return Tokey
+//}
+//
+//// if r,is :=Redis_Get(T_sn);is{
+//// return r,nil
+//// }
+//func Redis_Tokey_Get(Tokey string) (string, bool) {
+//	if len(Tokey) < 10 {
+//		return "", false
+//	}
+//	if redisCache_Tokey.IsExist(Tokey) {
+//		//println("找到key:",key)
+//		v := redisCache_Tokey.Get(Tokey)
+//		value := string(v.([]byte)) //这里的转换很重要,Get返回的是interface
+//
+//		redisCache_Tokey.Put(Tokey, value, 2*time.Hour) //  重新计次
+//		return value, true
+//	}
+//	//println("没有 找到key:",key)
+//	return "", false
+//}

+ 274 - 0
models/Account/User.go

@@ -0,0 +1,274 @@
+package Account
+
+import (
+	"ColdP_server/conf"
+	"encoding/json"
+	"errors"
+	"fmt"
+	"github.com/astaxie/beego/cache"
+	"github.com/beego/beego/v2/adapter/orm"
+	orm2 "github.com/beego/beego/v2/client/orm"
+	"log"
+	"strconv"
+	"strings"
+	"time"
+)
+
+type ColdpUser struct {
+	Id      int    `orm:"column(ID);size(11);auto;pk"`
+	T_uuid  string `orm:"size(256);null"`     //  用户编号
+	T_pid   int    `orm:"size(200);null"`     //  绑定公司 ( 只有创建公司用户时添加,内部人员 为0)
+	T_pids  string `orm:"size(200);null"`     //  绑定公司管理 Pid| 如 P1|P2
+	T_power int    `orm:"size(2);default(0)"` // 权限 (关联权限表)
+	T_user  string `orm:"size(256);null"`     // 用户名 (唯一)
+	T_pass  string `orm:"size(256);null"`     // MD5
+
+	T_name  string `orm:"size(256);null"` // 姓名
+	T_phone string `orm:"size(256);null"` // 电话
+	T_mail  string `orm:"size(200);null"` // 邮箱
+	T_wx    string `orm:"size(256);null"` // 微信
+
+	T_State    int       `orm:"size(2);default(1)"`                                    //  0禁用  1 正常
+	CreateTime time.Time `orm:"column(create_time);type(timestamp);null;auto_now_add"` //auto_now 每次 model 保存时都会对时间自动更新
+	UpdateTime time.Time `orm:"column(update_time);type(timestamp);null;auto_now"`     //auto_now_add 第一次保存时才设置时间
+}
+type ColdpUser_R struct {
+	Id        int
+	T_uuid    string // 用户编号
+	T_pid     int    // 绑定公司 ( 只有创建公司用户时添加,内部人员 为0)
+	T_pids    string //  绑定公司管理 Pid| 如 P1|P2
+	T_power   int    // 权限 (关联权限表)
+	T_user    string // 用户名 (唯一)
+	T_name    string // 姓名
+	T_phone   string // 电话
+	T_mail    string // 邮箱
+	T_wx      string // 微信
+	T_State   int    //  0删除  1 正常
+	T_Company string //公司名称
+}
+type AddUser struct {
+	T_name  string // 姓名
+	T_user  string
+	T_State string
+	T_pid   string
+	T_pass  string
+}
+
+func ColdpUserToColdpUser_R(r ColdpUser) (v ColdpUser_R) {
+	v.T_uuid = r.T_uuid
+	v.T_pid = r.T_pid
+	v.T_pids = r.T_pids
+	v.T_power = r.T_power
+	v.T_user = r.T_user
+	v.T_name = r.T_name
+	v.T_phone = r.T_phone
+	v.T_mail = r.T_mail
+	v.T_wx = r.T_wx
+	v.T_State = r.T_State
+	v.Id = r.Id
+	return v
+}
+
+type ColdpUCompany struct {
+	Id     int
+	T_name string
+}
+
+func (t *ColdpUser) TableName() string {
+	return "cold_user" // 数据库名称   // ************** 替换 FormulaList **************
+}
+
+var redisCache_ColdpUser cache.Cache
+
+func init() {
+	//注册模型
+	orm.RegisterModel(new(ColdpUser))
+
+	config := fmt.Sprintf(`{"key":"%s","conn":"%s","dbNum":"%s","password":"%s"}`,
+		"redis_ColdPColdpUser", conf.Redis_address, conf.Redis_dbNum, conf.Redis_password)
+	fmt.Println(config)
+	var err error
+	redisCache_ColdpUser, err = cache.NewCache("redis", config)
+	if err != nil || redisCache_ColdpUser == nil {
+		errMsg := "failed to init redis"
+		fmt.Println(errMsg, err)
+	}
+
+}
+func RedisColdpUserGet(key string) (r ColdpUser, is bool) {
+	if redisCache_Admin.IsExist(key) {
+		//println("找到key:",key)
+		v := redisCache_ColdpUser.Get(key)
+
+		json.Unmarshal(v.([]byte), &r)
+		return r, true
+	}
+	//println("没有 找到key:",key)
+	return ColdpUser{}, false
+}
+func RedisColdpUserSet(r ColdpUser) (err error) {
+	//json序列化
+	str, err := json.Marshal(r)
+	if err != nil {
+		fmt.Print(err)
+		return
+	}
+
+	err = redisCache_ColdpUser.Put(r.T_uuid, str, 24*time.Hour)
+	if err != nil {
+		fmt.Println("set key:", r.T_uuid, ",value:", str, err)
+	}
+	return
+}
+func ReadAdminLoginVerification(T_user string, T_pass string) (error, ColdpUser) {
+
+	o := orm.NewOrm()
+	r := ColdpUser{T_user: T_user, T_pass: T_pass, T_State: 1}
+	err := o.Read(&r, "t_user", "t_pass", "t__state") // o.Read(&r,"Tokey") 如果不是 主键 就得指定字段名
+	if err != nil {
+		fmt.Println(err)
+	}
+	RedisColdpUserSet(r) // Redis 更新缓存
+	return err, r
+}
+
+// AddColdpUser 添加用户
+func AddColdpUser(m ColdpUser) (id int64, err error) {
+	o := orm.NewOrm()
+	id, err = o.Insert(&m)
+	if err != nil {
+		fmt.Println(err)
+	}
+	m.Id = int(id)
+	RedisColdpUserSet(m)
+	return id, err
+}
+
+// GetCompanyList 获取公司列表
+func GetCompanyList(serch string) ([]ColdpUCompany, error) {
+	var comoany []ColdpUCompany
+	o := orm.NewOrm()
+	var sql string
+	log.Println(serch)
+	if len(serch) == 0 {
+		sql = "SELECT id,t_name FROM `company`"
+	} else {
+		sprintf := fmt.Sprint("%" + serch + "%")
+		sql = fmt.Sprintf("SELECT id,t_name FROM `company` WHERE t_name LIKE '%s'", sprintf)
+	}
+	rows, err := o.Raw(sql).QueryRows(&comoany)
+	if err != nil {
+		return nil, errors.New("查询失败")
+	}
+	if rows == 0 {
+		return nil, errors.New("没有数据")
+	}
+	return comoany, nil
+}
+func Read_ColdUser_List(T_pid int, T_name string, page int, page_z int) (AdminList []ColdpUser_R, cnt int64) {
+
+	o := orm.NewOrm()
+	// 也可以直接使用 Model 结构体作为表名
+
+	qs := o.QueryTable(new(ColdpUser))
+	var maps []ColdpUser
+
+	var offset int64
+	if page <= 1 {
+		offset = 0
+	} else {
+		offset = int64((page - 1) * page_z)
+	}
+	cond := orm.NewCondition()
+	//cond1 := cond.And("T_State", 1)
+	var cond1 *orm.Condition
+	if T_pid > 0 {
+		cond1 = cond.AndCond(cond.And("T_pid", T_pid))
+	}
+
+	if len(T_name) > 0 {
+		cond1 = cond.AndCond(cond.Or("T_name__icontains", T_name).Or("T_user__icontains", T_name))
+	}
+
+	qs.Limit(page_z, offset).SetCond((*orm2.Condition)(cond1)).OrderBy("Id").All(&maps)
+	cnt, _ = qs.SetCond((*orm2.Condition)(cond1)).Count()
+	for i, v := range maps {
+		r, err := Read_Company_ById(v.T_pid)
+		if err != nil {
+			//logs.Error(lib.FuncName(), err)
+		}
+		AdminList = append(AdminList, ColdpUserToColdpUser_R(v))
+		AdminList[i].T_Company = r
+	}
+	return AdminList, cnt
+}
+func ReadColdpUserByUuid(T_uuid string) (r ColdpUser, err error) {
+	if r, is := RedisColdpUserGet(T_uuid); is {
+		//println("Redis_Get  OK")
+		return r, nil
+	}
+	o := orm.NewOrm()
+	//redis 保存方式 uuid|公司pid
+	arr := strings.Split(T_uuid, "|")
+	r = ColdpUser{T_uuid: arr[0], T_State: 1}
+	err = o.Read(&r, "T_uuid", "T_State") // o.Read(&r,"Tokey") 如果不是 主键 就得指定字段名
+	if err != nil {
+		fmt.Println(err)
+	}
+	//设置为redis中存储的pid
+	pid, _ := strconv.ParseInt(arr[1], 10, 64)
+	r.T_pid = int(pid)
+	return r, err
+}
+func Read_Company_ById(Id int) (r string, e error) {
+	o := orm.NewOrm()
+	sql := fmt.Sprintf("SELECT t_name FROM `company` WHERE id = %d", Id)
+	err := o.Raw(sql).QueryRow(&r)
+	if err != nil {
+		//logs.Error(lib.FuncName(), e)
+		return "", errors.New("查询失败")
+	}
+	return r, e
+}
+func Read_Company_ByUser(user string) bool {
+	o := orm.NewOrm()
+	var count int64
+	sql := fmt.Sprintf("SELECT count(*) FROM `cold_user` WHERE t_user = '%v'", user)
+	err := o.Raw(sql).QueryRow(&count)
+	if err != nil {
+		//logs.Error(lib.FuncName(), e)
+		return false
+	}
+	if count > 0 {
+		return false
+	}
+	return true
+}
+func UpdateByIdState(m ColdpUser, cols ...string) bool {
+	o := orm.NewOrm()
+	if num, err := o.Update(&m, cols...); err == nil {
+		fmt.Println("Number of records updated in database:", num)
+		return true
+	}
+	return false
+}
+func GetByIdUser(m ColdpUser, cols ...string) bool {
+	o := orm.NewOrm()
+	err := o.Read(&m, cols...) // o.Read(&r,"Tokey") 如果不是 主键 就得指定字段名
+	if err != nil {
+		fmt.Println(err)
+	}
+	log.Println(m)
+	return false
+}
+func DeleteById(m ColdpUser) bool {
+	o := orm.NewOrm()
+	i, err := o.Delete(&m)
+	if err != nil {
+		return false
+	}
+	if i > 0 {
+		return true
+	}
+	return false
+}

+ 30 - 1
models/Device/DeviceSensor.go

@@ -1019,7 +1019,36 @@ func DeleteDeviceSensorDataByTimeRange(sn, id, start, end string) {
 }
 
 // InsertDeviceSensorData 添加设备数据
-func InsertDeviceSensorData(sn string, d DeviceSensorData, admin Account.Admin) {
+//
+//	func InsertDeviceSensorData(sn string, d DeviceSensorData, admin Account.Admin) {
+//		sqlStatement := fmt.Sprintf("insert into z_device_data_%s(t_id,t_sp,t_time,t_t,t_rh,t_site,create_time) value(%d,'%s','%s',%f,%f,'%s','%s')", sn, d.T_id, d.T_sp, d.T_time, d.T_t, d.T_rh, d.T_site, d.CreateTime)
+//		o := orm.NewOrm()
+//		_, err := o.Raw(sqlStatement).Exec()
+//		if err != nil {
+//			fmt.Println(err.Error())
+//			if strings.Contains(err.Error(), "Duplicate entry") {
+//				//已经存在该条目,更新
+//				sqlStatement = fmt.Sprintf("update z_device_data_%s set t_t = %f,t_rh = %f where t_time= '%s' and t_id = %d and t_sp = '%s'", sn, d.T_t, d.T_rh, d.T_time, d.T_id, d.T_sp)
+//				exec, err := o.Raw(sqlStatement).Exec()
+//				if err != nil {
+//					fmt.Println("更新错误:", err.Error())
+//				} else {
+//					affected, _ := exec.RowsAffected()
+//					fmt.Println("修改了", affected, "条")
+//				}
+//			}
+//		} else {
+//			//向DataOld插入数据
+//			sqlStatement = fmt.Sprintf("insert into device_data_old(t_sn,t_id,t_time,t_t,t_rh,t__site,t_operation,t_uuid,create_time) value('%s',%d,'%s',%f,%f,'%s',%d,'%s','%s')", sn, d.T_id, d.T_time, d.T_t, d.T_rh, d.T_site, 2, admin.T_uuid, d.CreateTime)
+//			_, err := o.Raw(sqlStatement).Exec()
+//			if err != nil {
+//				log.Panicln("插入失败:", err.Error())
+//			} else {
+//				fmt.Println("插入成功!")
+//			}
+//		}
+//	}
+func InsertDeviceSensorData(sn string, d DeviceSensorData, admin Account.ColdpUser) {
 	sqlStatement := fmt.Sprintf("insert into z_device_data_%s(t_id,t_sp,t_time,t_t,t_rh,t_site,create_time) value(%d,'%s','%s',%f,%f,'%s','%s')", sn, d.T_id, d.T_sp, d.T_time, d.T_t, d.T_rh, d.T_site, d.CreateTime)
 	o := orm.NewOrm()
 	_, err := o.Raw(sqlStatement).Exec()

+ 15 - 0
routers/company.go

@@ -0,0 +1,15 @@
+package routers
+
+import (
+	"ColdP_server/controllers"
+	beego "github.com/beego/beego/v2/server/web"
+)
+
+func init() {
+	beego.Router("/company/list", &controllers.CompanyController{}, "*:GetCompanyList")
+	beego.Router("/User/User_html", &controllers.CompanyController{}, "*:User_html")
+	beego.Router("/User/list", &controllers.CompanyController{}, "*:Read_Admin_List")
+	beego.Router("/User/update", &controllers.CompanyController{}, "*:UpdateUserStateById")
+	beego.Router("/User/delete", &controllers.CompanyController{}, "*:DeleteUserById")
+	beego.Router("/User/add", &controllers.CompanyController{}, "*:AddUser")
+}

+ 1 - 1
views/Device/Device.html

@@ -77,7 +77,7 @@
                                 </button>
                             </div>
                         </div>
-                        <h2>显示<span style="color: #00FF97FF">绿色</span>代表设备参数正在下发中。请勿重复下发!!!</h2>
+                        <h2>显示<span style="color: #00FF97FF">绿色</span>代表设备参数正在下发中。请勿重复下发!!!</h2>
                     </div>
                 </div>
                 <!--数据列表部分-->

+ 357 - 0
views/User/useredit.html

@@ -0,0 +1,357 @@
+<!DOCTYPE html>
+<html class="x-admin-sm">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="viewport"
+          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
+    <link rel="shortcut icon" href="/static/favicon.ico">
+    <link rel="bookmark" href="/static/favicon.ico">
+    <link rel="stylesheet" href="/static/css/font.css">
+    <link rel="stylesheet" href="/static/css/xadmin.css">
+    <link rel="stylesheet" href="/static/layui/css/modules/layer/default/layer.css">
+    <link rel="stylesheet" href="/static/layui/css/modules/laydate/default/laydate.css">
+    <script src="/static/js/jquery.min.js"></script>
+    <script src="/static/lib/layui/layui.js" charset="utf-8"></script>
+    <!--    <script src="/static/lib/layui/lay/modules/laydate.js"/>-->
+    <script src="/static/lib/layui/lay/modules/layer.js" charset="utf-8"></script>
+    <script type="text/javascript" src="/static/js/xadmin.js"></script>
+    <style>
+        .red-text {
+            color: red;
+        }
+    </style>
+</head>
+<body>
+<div class="x-nav">
+            <span class="layui-breadcrumb">
+                <a href="">首页</a>
+               <a><cite>设备管理</cite></a>
+            </span>
+    <a class="layui-btn layui-btn-normal" style="line-height:1.6em;margin-top:3px;float:right"
+       onclick="location.reload()" title="刷新">
+        <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i>
+    </a>
+</div>
+<div class="layui-fluid">
+    <div class="layui-row layui-col-space15">
+        <div class="layui-col-md12">
+            <div class="layui-card">
+                <div class="layui-card-body ">
+                    <div class="layui-form layui-col-space5">
+                        <div class="layui-input-inline layui-show-xs-block">
+                            <input id="deviceName" type="text" name="Name"
+                                   placeholder="用户名称"
+                                   autocomplete="off" class="layui-input"></div>
+                        <div class="layui-input-inline layui-show-xs-block">
+                            <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="search"
+                                    onclick="getDeviceDataList(1)">
+                                <i class="layui-icon">&#xe615;</i></button>
+                        </div>
+                        <div class="layui-input-inline layui-show-xs-block">
+                            <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="search"
+                                    onclick="showAddUserForm()">
+                                <i class="layui-icon">&#xe615;</i>添加用户
+                            </button>
+                        </div>
+                    </div>
+                </div>
+                <!--数据列表部分-->
+                <div class="layui-card-body " style="min-height: 400px">
+                    <table class="layui-table" lay-size="lg">
+                        <colgroup>
+                            <!--                            <col width="20">-->
+                            <col>
+                            <col>
+                            <col>
+                            <col>
+                            <col>
+                        </colgroup>
+                        <thead>
+                        <!--                        <th>选择</th>-->
+                        <th>用户名</th>
+                        <th>用户账号</th>
+                        <th>公司</th>
+                        <th>用户状态</th>
+                        <th>操作</th>
+                        </thead>
+                        <tbody id="tableBody">
+
+                        </tbody>
+                    </table>
+                </div>
+
+                <div class="layui-card-body ">
+                    <div class="page">
+                        <div id="pageTool">
+                            <!--上一页-->
+                        </div>
+                    </div>
+                </div>
+                <!--分页、选择区域 start-->
+                <!-- 分页、选择区域 end -->
+            </div>
+        </div>
+    </div>
+</div>
+
+<script>
+    //数据表格
+    let pageInfo = null
+    let currentPage = 1
+
+    function getDeviceDataList(currentPage) {
+        // 显示加载页面
+        layui.layer.load();
+        let searchDeviceName = $('#deviceName').val()
+        let searchDeviceClass = $('#searchClass').val()
+        console.log(searchDeviceName, searchDeviceClass)
+        let formData = new FormData();
+        formData.set('page', currentPage)
+        formData.set('T_name', searchDeviceName)
+        $.ajax({
+            type: "POST",
+            data: formData,
+            contentType: false,
+            processData: false,
+            url: "/User/list?search=",
+            success: function (result) {
+                pageInfo = result
+                let b = $('#tableBody')
+                b.html("")
+                if (result.list != null) {
+                    layui.layer.closeAll("loading");
+                    for (let v of result.list) {
+                        let buttonHtml = '';
+                        if (v.T_State === 1) {
+                            buttonHtml = `<button onclick="updateUserState('${v.T_State}', '${v.Id}', 0)" class="layui-btn layui-btn-normal layui-btn-sm layui-bg-green">启用</button>`;
+                        } else if (v.T_State === 0) {
+                            buttonHtml = `<button onclick="updateUserState('${v.T_State}', '${v.Id}', 1)" class="layui-btn layui-btn-normal layui-btn-sm layui-bg-red">禁用</button>`;
+                        }
+                        let isTrueStyle = v.Is_true === 1 ? 'style="background-color: #00FF97FF;"' : '';
+                        b.append(`<tr ${isTrueStyle}>
+                            <td>${v.T_name}</td>
+                            <td>${v.T_user}</td>
+                            <td>${v.T_Company}【${v.T_pid}】</td>
+                            <td>
+                                ${buttonHtml}
+                            </td>
+                            <td>
+                               <button onclick="DeleteUser('${v.Id}')" class="layui-btn layui-btn-normal layui-btn-sm layui-bg-red">删除</button>
+                            </td>
+                        </tr>
+                        `)
+                    }
+                } else {
+                    b.append(`<tr>
+                        <td colspan="5" rowspan="10" style="height: 590px;text-align: center">没有设备数据!</td>
+                    </tr>`)
+
+                }
+                //渲染分页
+                $('#pageTool').html('')
+                if (!pageInfo.previousPage) {
+                    $('#pageTool').append(`<button class="layui-btn layui-btn-primary layui-btn-sm " onclick="getDeviceDataList(${pageInfo.currentPage - 1})">上一页</button>`)
+
+                } else {
+                    $('#pageTool').append(`<button class="layui-btn layui-btn-primary layui-btn-disabled layui-btn-sm" onclick="getDeviceDataList(${pageInfo.currentPage - 1})">上一页</button>`)
+
+                }
+
+                //页码
+                let start, end
+                start = pageInfo.currentPage - 2 <= 0 ? 1 : pageInfo.currentPage - 2
+                end = pageInfo.currentPage + 2 >= pageInfo.totalPage ? pageInfo.totalPage : pageInfo.currentPage + 2
+                end = end + (Math.abs(end - start)) >= pageInfo.totalPage ? pageInfo.totalPage : end + (Math.abs(end - start))
+                start = start - (Math.abs(end - start)) <= 0 ? 1 : start - (Math.abs(end - start))
+                for (; start <= end; start++) {
+                    if (pageInfo.currentPage == start) {
+                        $('#pageTool').append(`<button class="layui-btn layui-btn-disabled layui-btn-primary layui-btn-sm" onclick="getDeviceDataList(${start})">${start}</button>`)
+
+                    } else {
+                        $('#pageTool').append(`<button class="layui-btn layui-btn-primary layui-btn-sm" onclick="getDeviceDataList(${start})">${start}</button>`)
+
+                    }
+                }
+
+                if (!pageInfo.nextPage) {
+                    $('#pageTool').append(`<button class="layui-btn layui-btn-primary layui-btn-sm " onclick="getDeviceDataList(${pageInfo.currentPage + 1})">下一页</button>`)
+
+                } else {
+                    $('#pageTool').append(`<button class="layui-btn layui-btn-primary layui-btn-disabled layui-btn-sm " onclick="getDeviceDataList(${pageInfo.currentPage + 1})">下一页</button>`)
+
+                }
+
+            }
+        })
+    }
+
+    $(function () {
+        getDeviceDataList(1) //获取数据列表
+    })
+
+    layui.use(['form', 'layer'], function () {
+        var form = layui.form;
+        var layer = layui.layer;
+
+        window.showAddUserForm = function () { // 将 showAddUserForm 定义在 window 对象上
+            layer.open({
+                type: 1,
+                title: '添加用户',
+                area: ['500px', '400px'],
+                content: ` <form class="layui-form" action="" style="margin: 20px;" lay-filter="formDemo">
+                    <div class="layui-form-item">
+                        <label class="layui-form-label">用户名</label>
+                        <div class="layui-input-block">
+                            <input type="text" name="T_name" required lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
+                        </div>
+                    </div>
+                    <div class="layui-form-item">
+                        <label class="layui-form-label">用户账号</label>
+                        <div class="layui-input-block">
+                            <input type="text" name="T_user" required lay-verify="required" placeholder="请输入用户账号" autocomplete="off" class="layui-input">
+                        </div>
+                    </div>
+                    <div class="layui-form-item">
+                        <label class="layui-form-label">密码</label>
+                        <div class="layui-input-block">
+                            <input type="password" name="T_pass" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
+                        </div>
+                    </div>
+                    <div class="layui-form-item">
+                        <label class="layui-form-label">公司</label>
+                        <div class="layui-input-block">
+                            <select id="companySelect" name="T_pid" lay-verify="required" lay-search>
+                                <option value="">请选择公司</option>
+                            </select>
+                        </div>
+                    </div>
+                    <div class="layui-form-item">
+                        <label class="layui-form-label">是否管理员</label>
+                        <div class="layui-input-block">
+                            <input type="radio" name="noCompany" value="0" title="无公司" lay-filter="noCompany">
+                        </div>
+                    </div>
+                    <div class="layui-form-item">
+                        <div class="layui-input-block">
+                            <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
+                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
+                            <button type="button" class="layui-btn layui-btn-primary" onclick="layer.closeAll()">关闭</button>
+                        </div>
+                    </div>
+                </form>
+            `,
+                success: function (layero, index) {
+                    $.ajax({
+                        type: "GET",
+                        url: "/company/list",
+                        success: function (result) {
+                            let companySelect = $('#companySelect');
+                            result.Data.forEach(function (company) {
+                                companySelect.append(`<option value="${company.Id}">${company.T_name}</option>`);
+                            });
+                            form.render('select'); // 重新渲染select元素
+                            form.render('radio'); // 重新渲染radio元素
+                        }
+                    });
+                }
+            });
+        }
+        form.on('submit(formDemo)', function (data) {
+            console.log(data.field);
+            // 封装成 JSON 对象并打印
+            const jsonData = JSON.stringify(data.field);
+            $.ajax({
+                type: "POST",
+                url: "/User/add",
+                data: jsonData,
+                contentType: "application/json",
+                success: function (result) {
+                    if (result.Code === 200) {
+                        layui.layer.msg('添加成功');
+                        getDeviceDataList(currentPage);
+                        // 添加成功后关闭弹窗
+                        layer.closeAll();
+                    } else {
+                        layui.layer.msg(result.Msg);
+                    }
+                },
+                error: function () {
+                    layui.layer.msg('添加失败');
+                }
+            });
+            return false; // 阻止表单跳转
+        });
+        // 添加 radio 监听事件
+        form.on('radio(noCompany)', function (data) {
+            if (data.value === '0') {
+                $('#companySelect').removeAttr('lay-verify');
+            } else {
+                $('#companySelect').attr('lay-verify', 'required');
+            }
+            form.render('select'); // 重新渲染select元素
+        });
+    });
+
+    // 新增函数 updateUserState
+    function updateUserState(uuid, id, newState) {
+        const params = {
+            T_State: newState,
+            Id: id
+        };
+        $.ajax({
+            type: "GET",
+            url: "/User/update",
+            data: params,
+            success: function (result) {
+                if (result.Code === 200) {
+                    layui.layer.msg('更新成功');
+                    getDeviceDataList(currentPage); // 重新加载数据列表
+                } else {
+                    layui.layer.msg(result.Msg);
+                }
+
+            },
+            error: function () {
+                layui.layer.msg('更新失败');
+            }
+        });
+    }
+
+    function DeleteUser(id) {
+        layui.layer.confirm('确定要删除该用户吗?', {
+            btn: ['是', '否'] // 按钮
+        }, function (index) {
+            // 用户点击是
+            const params = {
+                Id: id
+            };
+
+            $.ajax({
+                type: "GET",
+                url: "/User/delete",
+                data: params,
+                success: function (result) {
+                    if (result.Code === 200) {
+                        layui.layer.msg('更新成功');
+                        getDeviceDataList(currentPage); // 重新加载数据列表
+                    } else {
+                        layui.layer.msg(result.Msg);
+                    }
+                },
+                error: function () {
+                    layui.layer.msg('更新失败');
+                }
+            });
+            layui.layer.close(index);
+        }, function (index) {
+            // 用户点击否
+            layui.layer.close(index);
+        });
+    }
+</script>
+</body>
+
+</html>

+ 9 - 0
views/home.html

@@ -58,6 +58,11 @@
                     <i class="layui-icon" style="font-size: 100px;">&#xe667;</i>
                     <H2 style="margin-top: -80px;">报警管理</H2>
                 </div>
+                <div class="layui-col-md6 adduser"
+                     onclick="window.parent.xadmin.add_tab('用户管理','/User/User_html')">
+                    <i class="layui-icon" style="font-size: 100px;">&#xe667;</i>
+                    <H2 style="margin-top: -80px;">用户管理</H2>
+                </div>
             </div>
 
         </div>
@@ -70,9 +75,13 @@
         // 页面加载完成后执行的代码
         if ({{.T_pid}}!=0){
              var elementsByClassName = document.querySelector(".getCompany");
+             var adduser = document.querySelector(".adduser");
              elementsByClassName.style.display = 'none';
+            adduser.style.display = 'none';
         }else{
             var elementsByClassName = document.querySelector(".getCompany");
+            var adduser = document.querySelector(".adduser");
+            adduser.style.display = 'block';
             elementsByClassName.style.display = 'block';
         }
         if ({{.names}}=='宝智达-魏公梅'){