Browse Source

线索状态修改

WH01243 11 months ago
parent
commit
a3ceb3ccfc
1 changed files with 2 additions and 6 deletions
  1. 2 6
      service/clue.go

+ 2 - 6
service/clue.go

@@ -407,9 +407,7 @@ func DistributeClueMore(saleMap map[string]map[string]interface{}, distributedAr
 						"start_trail_time":     nil,
 						// "comeinsource_open":    nil,
 					}
-					if trailstatus != "08" {
-						updateClue["trailstatus"] = "01"
-					}
+					updateClue["trailstatus"] = "01"
 					if isTask == int64(1) {
 						updateClue["is_task"] = 1
 						updateClue["task_time"] = nowTime
@@ -708,9 +706,7 @@ func batchDraw(data []map[string]interface{}, nowTime, seatNumber, name string,
 				"level_open":           nil,
 				"clue_level":           nil,
 			}
-			if trailstatus != "08" {
-				updateClue["trailstatus"] = "01"
-			}
+			updateClue["trailstatus"] = "01"
 			ok1 := JyBiTidb.UpdateByTx(tx, "dwd_f_crm_clue_info", map[string]interface{}{"id": clueId}, updateClue)
 			recordId := JyBiTidb.InsertByTx(tx, "dwd_f_crm_clue_change_record", map[string]interface{}{
 				"clue_id":      clueId,