소스 검색

代码格式化处理

WH01243 1 년 전
부모
커밋
a92d40096f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      service/custom.go

+ 2 - 1
service/custom.go

@@ -279,7 +279,8 @@ func saveSalesFunnel(tx *sql.Tx, args []interface{}, tpl_id int64) int64 {
 	stageData := cm.CrmMysql.FindOne(entity.CONFIG_TPL_STAGE, map[string]interface{}{
 		"tpl_id": tpl_id,
 		"order":  1,
-	}, "id", "")if stageData != nil {
+	}, "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)