fix(go): merge realtime raw arrays by serial
This commit is contained in:
@@ -364,7 +364,7 @@ func asAnySlice(value any) ([]any, bool) {
|
||||
}
|
||||
|
||||
func mergeSliceKey(item map[string]any) string {
|
||||
for _, key := range []string{"name", "type", "id"} {
|
||||
for _, key := range []string{"name", "type", "id", "serial_no"} {
|
||||
if value, ok := item[key]; ok {
|
||||
text := strings.TrimSpace(strconvAny(value))
|
||||
if text != "" {
|
||||
|
||||
Reference in New Issue
Block a user