无效种子清除
This commit is contained in:
+4
-2
@@ -39,8 +39,10 @@ class CommFang {
|
|||||||
dbObject.put("c_date", c_date)
|
dbObject.put("c_date", c_date)
|
||||||
dbObject.put("m_date", c_date)
|
dbObject.put("m_date", c_date)
|
||||||
|
|
||||||
set.add(id)
|
if (obj.region != null) {
|
||||||
doc.add(dbObject)
|
set.add(id)
|
||||||
|
doc.add(dbObject)
|
||||||
|
}
|
||||||
if (doc.size() == 5000) {
|
if (doc.size() == 5000) {
|
||||||
districtSeeds.insert(doc)
|
districtSeeds.insert(doc)
|
||||||
doc.clear()
|
doc.clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user