Эх сурвалжийг харах

机会漏斗保存数据调整

WH01243 1 жил өмнө
parent
commit
8da2cc7914

+ 1 - 1
service/custom.go

@@ -272,7 +272,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_progress`, `current_generation`}
+	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)
 	stageId := int64(0)

+ 1 - 1
service/sale_chance.go

@@ -181,7 +181,7 @@ func (this *SaleChanceService) SaveChange(ctx context.Context, argsChange, argsT
 		argsSalesFunnel := []interface{}{
 			changeId,
 			taskId,
-			fmt.Sprintf("%s创建了销售机会", this.CreateName),
+			this.ChanceName,
 			this.Summary,
 			nextFollowTime,
 			this.ExpectedMoney,