数据传输Json格式
- 查询参数ObjAlias对象
{
rowperpage int :0 ; //用于记录数查询 0 代表所有记录
startrow :int 1
resultcount : int 0;
code :string;
name : string
filter :string;
orderby : string [],
groupby:string[],
colfilters : ObjColFilter[]
params :ObjParamValue[]
}
ObjParamValue {
code :string
value :Object
}
ObjColFilter {
code :string
op :string;
value :string;
logicop :string
colfilters:[] //子过滤条件
}
- 查询结果Datastore JSON 格式
{
code:’
alias :{},
fields :[{ObjField}],
rows:[[value1,value2,… status]]
subds:[{code,alias,fields.rows….}]
}
fields 字段定义 JSON 格式
ObjField
{
code :string
index :int
scale : int
precision :int
sqltype :int ; //数据库的实际类型用以帮助更新。
type :string
}
status :string 为更新状态 add set del non 四种状态
Created with the Personal Edition of HelpNDoc: Free PDF documentation generator