fix: 修正ztd

This commit is contained in:
yarnom 2025-08-25 09:31:17 +08:00
parent 9f3331a09f
commit 77d85816bd

View File

@ -310,7 +310,7 @@ func (e *Exporter) lookupZTD(ctx context.Context, deviceID string, bucketEnd tim
e.logger.Printf("站点 device_id=%s: ZTD值为NULL", deviceID)
return ""
}
return fmtFloat(ztd.Float64*1000.0, -1)
return fmtFloat(ztd.Float64*100.0, -1)
}
func ensureFileWithHeader(path string) bool {