From 233bd12749d48c0b2cd8c305e2428277bbe6b5fd Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 13 十二月 2024 13:50:03 +0800
Subject: [PATCH] 跳过没档案编号的

---
 models/gather_model.go |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/models/gather_model.go b/models/gather_model.go
index 8a0c7ac..050065d 100644
--- a/models/gather_model.go
+++ b/models/gather_model.go
@@ -410,6 +410,9 @@
 	}
 
 	for _, record := range records {
+		if record.DocumentNumber == "" {
+			continue
+		}
 		if domains[record.CommunityId] == nil {
 			continue
 		}

--
Gitblit v1.8.0