Przeglądaj źródła

代码格式化处理

WH01243 1 rok temu
rodzic
commit
a92d40096f
1 zmienionych plików z 2 dodań i 1 usunięć
  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)