CoreSQLEquation

package
v5.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldsEquation

type FieldsEquation struct {
	//等式ID
	// 该ID由前端拟定,确保唯一即可
	ID int `db:"id" json:"id"`
	//上级ID
	// 嵌套关系处理
	ParentID int `db:"parent_id" json:"parentID"`
	//标识码
	Mark string `db:"mark" json:"mark"`
	//等式类型
	// 0 > 大于; 1 >= 大于等于; 2 = 等于; 3 < 小于; 4 <= 小于等于
	// 5 ? 查询; 6 ?? 忽略大小写查询
	Eq int `db:"eq" json:"eq"`
	//条件处理方式
	// 0 + 相加 / 1 - 相减 / 2 x 相乘 / 3 "/" 相除
	Conditions int `db:"conditions" json:"conditions"`
	//值
	Val string `db:"val" json:"val"`
}

type FieldsEquations

type FieldsEquations []FieldsEquation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL