wangchuanjin hai 1 ano
pai
achega
e40a7b9f37
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      service/custom.go

+ 1 - 1
service/custom.go

@@ -291,7 +291,7 @@ func saveSalesFunnel(tx *sql.Tx, args []interface{}, tpl_id int64) int64 {
 			a1 = append(a1, 0)
 			a1 = append(a1, stageId)
 			//进度查询
-			matterData := cm.CrmMysql.SelectBySql("select COUNT(1) as ratio from config_stage_matter where stage_id=? and is_must == 1", stageId)
+			matterData := cm.CrmMysql.SelectBySql("select COUNT(1) as ratio from config_stage_matter where stage_id=? and is_must = 1", stageId)
 			if matterData != nil && len(*matterData) > 0 {
 				ratio := gconv.Int64((*matterData)[0]["ratio"])
 				a1 = append(a1, ratio)