|
@@ -79,6 +79,18 @@ func increaseRepeat(mapInfo map[string]interface{}) {
|
|
repeat_ids = append(repeat_ids,info.id)
|
|
repeat_ids = append(repeat_ids,info.id)
|
|
source.repeat_ids = repeat_ids
|
|
source.repeat_ids = repeat_ids
|
|
DM.replacePoolData(source)//替换数据池-更新
|
|
DM.replacePoolData(source)//替换数据池-更新
|
|
|
|
+
|
|
|
|
+ Update.updatePool <- []map[string]interface{}{//原始数据打标签
|
|
|
|
+ map[string]interface{}{
|
|
|
|
+ "_id": StringTOBsonId(source.id),
|
|
|
|
+ },
|
|
|
|
+ map[string]interface{}{
|
|
|
|
+ "$set": map[string]interface{}{
|
|
|
|
+ "repeat_ids": repeat_ids,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ }
|
|
|
|
+
|
|
Update.updatePool <- []map[string]interface{}{//重复数据打标签
|
|
Update.updatePool <- []map[string]interface{}{//重复数据打标签
|
|
updateID,
|
|
updateID,
|
|
map[string]interface{}{
|
|
map[string]interface{}{
|