Browse Source

标签处理

WH01243 7 months ago
parent
commit
95f9004164
1 changed files with 3 additions and 1 deletions
  1. 3 1
      service/company.go

+ 3 - 1
service/company.go

@@ -265,7 +265,9 @@ func dclue(v, positionId, isTask, thispositionId int64) {
 				//标签变更
 				labelChangeTime := gconv.String((*clueData)["labelChangeTime"])
 				label := gconv.Int64((*clueData)["label"])
-				LabelHandel(nil, label, 3, v, "", "01", trailstatus, labelChangeTime)
+				if oldName != name {
+					LabelHandel(nil, label, 3, v, "", "01", trailstatus, labelChangeTime)
+				}
 				JyBiTidb.Insert("dwd_f_crm_clue_change_record", map[string]interface{}{
 					"clue_id":      v,
 					"position_id":  oldpositionId,