Explorar o código

增加历史数据标记

xuzhiheng %!s(int64=5) %!d(string=hai) anos
pai
achega
1f62c4e908
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/service/customer_service.go

+ 1 - 0
src/service/customer_service.go

@@ -957,6 +957,7 @@ func (c *Customer) HistoryRuleCreate() {
 			data["s_tagnamekey"] = s_tagnamekey
 			data["b_delete"] = false
 			data["s_dataid"] = qu.SE.EncodeString(fmt.Sprintf("%v", i_createtime) + s_tagnamekey + s_id)
+			data["i_type"] = "historyData"
 			id = Mgo.Save("cuserdepartrule", data)
 			if id != "" {
 				rep = true