This commit is contained in:
Daniel 2025-07-01 22:42:48 +08:00
parent b357047290
commit 17c59cb2ca
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
11 changed files with 64 additions and 69 deletions

View file

@ -16,13 +16,6 @@
package av
// Calculable 接口定义了可计算的视图类型。
type Calculable interface {
// Calc 根据视图中设置的计算规则进行计算。
Calc()
}
// ColumnCalc 描述了列(字段)计算操作和结果的结构。
type ColumnCalc struct {
Operator CalcOperator `json:"operator"` // 计算操作符