Sfoglia il codice sorgente

Merge branch 'dev_v1.0.3_wh' of CRM/application into feature/v1.0.3

王浩 1 anno fa
parent
commit
dee4c042c1
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      service/custom.go

+ 3 - 3
service/custom.go

@@ -282,14 +282,14 @@ func saveSalesFunnel(tx *sql.Tx, args []interface{}, tpl_id int64) int64 {
 	}, "id", "")
 	if stageData != nil {
 		stageId = gconv.Int64((*stageData)["id"])
-		//进度查询
+		/*//进度查询
 		matterData := cm.CrmMysql.SelectBySql("select SUM(ratio)  as ratio   from  config_stage_matter where stage_id=?", stageId)
 		if matterData != nil && len(*matterData) > 0 {
 			ratio = gconv.Int64((*matterData)[0]["ratio"])
-		}
+		}*/
 	}
+	args = append(args, stageId)
 	args = append(args, 0)
-	args = append(args, ratio)
 	//当前阶段进展
 	_, id := cm.CrmMysql.InsertBatchByTx(tx, entity.SALES_FUNNEL, fields, args)
 	return id