Jianghan 1 год назад
Родитель
Сommit
b0fe9c15fa
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      service/custom.go

+ 1 - 1
service/custom.go

@@ -274,7 +274,7 @@ func SaveLedger(ctx context.Context, positionId, businessId, taskId int64, types
 func saveSalesFunnel(tx *sql.Tx, args []interface{}, tpl_id int64) int64 {
 	fields := []string{`chance_id`, `task_id`, `chance_name`, `outline`, `next_follow_time`, `expected_transaction_amount`, `business_type`, `ent_id`, `employ_info_id`, `current_generation`, `current_generation_progress`}
 	//当前阶段
-	ratio := int64(0)
+	//ratio := int64(0)
 	stageId := int64(0)
 	stageData := cm.CrmMysql.FindOne(entity.CONFIG_TPL_STAGE, map[string]interface{}{
 		"tpl_id":  tpl_id,