Эх сурвалжийг харах

Merge branch 'feature/eta2.5.9_inspection_stat' into debug

xyxie 2 өдөр өмнө
parent
commit
8be269a963

+ 1 - 1
services/edb_inspection.go

@@ -254,7 +254,7 @@ func AddEdbInspectionRecord(cont context.Context) (err error) {
 		
 		// 4. 如果巡检失败,添加消息记录
 		if record.InspectionResult == 2 {
-			msg := fmt.Sprintf("%s巡检结果异常: %s", config.TerminalName, edbInfo.EdbCode, record.ErrorReason)
+			msg := fmt.Sprintf("%s巡检结果异常: %s", config.TerminalName, record.ErrorReason)
 			adminList := strings.Split(config.NotifyUsers, ",")
 			for _, adminIdStr := range adminList {
 				adminId, _ := strconv.ParseInt(adminIdStr, 10, 64)