Browse Source

style:代码样式调整

Roc 1 year ago
parent
commit
890c6d2533
2 changed files with 4 additions and 0 deletions
  1. 2 0
      services/data/base_edb_lib.go
  2. 2 0
      utils/calculate.go

+ 2 - 0
services/data/base_edb_lib.go

@@ -341,6 +341,8 @@ type BaseCalculateResp struct {
 	IsAddLog    bool `json:"-" description:"true 新增操作日志,false 不新增操作日志" `
 }
 
+// BaseCalculateDataResp
+// @Description: 基础计算的返回结果
 type BaseCalculateDataResp struct {
 	DataMap  map[string]float64
 	DateList []string

+ 2 - 0
utils/calculate.go

@@ -188,6 +188,8 @@ func ReplaceFormula(valArr map[string]float64, formulaStr string) string {
 	return formulaStr
 }
 
+// CellPosition
+// @Description: 单元格位置
 type CellPosition struct {
 	Tag   string
 	Row   int