|
@@ -5,12 +5,12 @@ import (
|
|
|
"database/sql"
|
|
|
"fmt"
|
|
|
"log"
|
|
|
- "time"
|
|
|
-
|
|
|
"strings"
|
|
|
+ "time"
|
|
|
|
|
|
qu "app.yhyue.com/moapp/jybase/common"
|
|
|
"app.yhyue.com/moapp/jybase/date"
|
|
|
+ "app.yhyue.com/moapp/jybase/encrypt"
|
|
|
"bp.jydev.jianyu360.cn/BaseService/userCenter/rpc/pb"
|
|
|
cm "bp.jydev.jianyu360.cn/CRM/application/api/common"
|
|
|
"bp.jydev.jianyu360.cn/CRM/application/entity"
|
|
@@ -206,6 +206,9 @@ func (this *SaleChanceService) SaveChange(ctx context.Context, argsChange, argsT
|
|
|
SalesFunnel := saveSalesFunnel(tx, argsSalesFunnel, this.BusinessType)
|
|
|
//人脉保存
|
|
|
if ownerId != "" || connectionBusinessId != "" {
|
|
|
+ if connectionBusinessId != "" {
|
|
|
+ connectionBusinessId = encrypt.DecodeArticleId2ByCheck(connectionBusinessId)[0]
|
|
|
+ }
|
|
|
SaveConnection(tx, this.PositionId, connectionBusinessId, ownerId, this.EntId, this.EntDeptId, this.EntUserId)
|
|
|
}
|
|
|
if changeId > 0 && taskId > 0 && ok1 && planId > 0 && SalesFunnel > 0 {
|