Jianghan 1 år sedan
förälder
incheckning
3ae49b262d
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      CMPlatform/history/task.go

+ 1 - 0
CMPlatform/history/task.go

@@ -637,6 +637,7 @@ func (c *Customer) saveBeforeData(historyId string, isFilter, noticeFilter, data
 				<-ch
 				wg.Done()
 			}()
+			delete(tmp, "_id")
 			AssembelSave(tmp, c.IsSearchHosp, c.IsSearchEnps, historyId, c.AppId, isFilter, noticeFilter, dataTable, entId, iContact, xlsxData, c.DataSave)
 		}(tmp)
 		tmp = make(map[string]interface{})