Browse Source

Merge branch 'dev/v1.0.1_wjh' of CRM/application into feature/v1.0.1

wangjianghan 1 year ago
parent
commit
931d21f30a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/sale_chance.go

+ 1 - 1
service/sale_chance.go

@@ -119,7 +119,7 @@ func (this *SaleChanceService) Add(ctx context.Context) (int64, string) {
 		args = append(args, this.PositionId, this.EntId, this.EntUserId, this.EmployInfoId, this.CustomId, this.BusinessType, this.ChanceName, this.Summary, this.ChanceClassify, qu.If(this.ExpectedOrderTime == 0, nil, expect_deal_time), qu.If(this.ExpectedMoney == 0, nil, this.ExpectedMoney), qu.If(this.Remarks == "", nil, this.Remarks), nowtime, this.CreateName, this.ChanceSource)
 		//任务
 		argsTask = append(argsTask, this.EntId, this.ChanceName+"的跟进任务", 2, this.PositionId, 1, nowtime, 1, 0, qu.If(this.NextfollowUpTime == 0, nil, nextFollowTime), this.BusinessType, stageId)
-		chanceId, taskId = SaveChange(ctx, args, argsTask, argsTaskTeam, this.EmployInfoId, this.CustomId, this.PositionId, this.BusinessType, this.CreateName, []int64{}, this.EntId, this.EntUserId, this.EntDeptId)
+		chanceId, taskId = this.SaveChange(ctx, args, argsTask, argsTaskTeam, []int64{})
 		if chanceId < 0 {
 			return -1, groupId
 		}