文档
测试

自定义字段/查询基础数据

GET
/api/controller/metaField/selectMetaField?module=building&id=123

请求头

参数名
类型
描述
必填
token
String
token
必填

请求参数

参数名
类型
描述
必填
module
String
building(固定写法)
必填
id
int
建筑物id
必填

响应参数

参数名
类型
描述
必填
data
list
数据集合
必填
buildinglistVo
list
建筑物信息
必填
jfieldName
String
字段名
必填
fieldType
String
字段类型(varchar:字符串,int:数字)
必填
fieldDesc
String
字段描述(中文名)
必填
editType
int
字段编辑方式:1:文本框、2:下拉框,3:选择日期,4:单选,5:多选,6:文本域
必填
notNull
int
是否不能为空 1:是 2:否
必填
primaryKey
int
是否主键 1:是 2:否
必填
dropDown
list
下拉选择列表
必填
id
int
必填
paramType
类型
必填
paramValue
描述
必填
regular
String
正则表达式
必填
hint
String
正则不通过提示
必填
multipleChoice
int
下拉框,是否多选(1.是,2.否)
必填
dropDown
list
下拉框内容
必填
multipleChoiceList
list
多选框内容只
必填
arealistVo
list
面积信息(对象内容参考建筑物buildinglistVo,一模一样)
必填
jfieldName
String
字段名
必填
appendagesVo
list
附属物信息(对象内容参考建筑物buildinglistVo,一模一样)
必填
floorsVo
list
楼层信息(对象内容参考建筑物buildinglistVo,一模一样)
必填
groundBuildingRelationVo
list
所属地块(对象内容参考建筑物buildinglistVo,一模一样)
必填
msg
String
接口响应描述
必填
res
String
接口响应状态 0:成功
必填

说明 / 示例

{ "res": "0", "msg": "操作成功!", "data": { "buildinglistVo": [ { "fieldId": 42, "projectId": 200, "entityId": 6, "jfieldName": "legalFormalities", "fieldName": "legal_formalities", "jfieldType": "int", "fieldType": "int", "fieldDesc": "有无合法手续", "fieldExample": "1", "fieldComment": null, "fieldLength": 11, "fieldScale": null, "primaryKey": 2, "autoIncrement": 2, "pkStrategy": null, "notNull": 2, "defaultValue": "", "foreignKey": 2, "foreignEntityId": null, "foreignFieldId": null, "editType": 2, "dicType": null, "insert": 1, "update": 1, "list": 1, "columnWidth": null, "listSort": 2, "show": 2, "query": 2, "queryType": null, "orderNo": 47, "specialField": null, "createdTime": null, "createdBy": null, "operatedTime": null, "operatedBy": null, "deleted": 0, "version": 0, "value": [], "regular": " ", "hint": " ", "multipleChoice": null, "multipleChoiceList": null, "dropDown": [ { "id": 1, "paramType": null, "paramValue": "有" }, { "id": 2, "paramType": null, "paramValue": "无" } ] }, { "fieldId": 65, "projectId": 200, "entityId": 6, "jfieldName": "measureDate", "fieldName": "measure_date", "jfieldType": "varchar", "fieldType": "varchar", "fieldDesc": "测绘时间", "fieldExample": "1", "fieldComment": null, "fieldLength": 45, "fieldScale": null, "primaryKey": 2, "autoIncrement": 2, "pkStrategy": null, "notNull": 2, "defaultValue": "", "foreignKey": 2, "foreignEntityId": null, "foreignFieldId": null, "editType": 1, "dicType": null, "insert": 1, "update": 1, "list": 1, "columnWidth": null, "listSort": 2, "show": 2, "query": 2, "queryType": null, "orderNo": 55, "specialField": null, "createdTime": null, "createdBy": null, "operatedTime": null, "operatedBy": null, "deleted": 0, "version": 0, "value": null, "regular": "", "hint": "", "multipleChoice": null, "multipleChoiceList": null, "dropDown": [] } ], "floorsVo": [ { "fieldId": 71, "projectId": 200, "entityId": 13, "jfieldName": "blowOutArea", "fieldName": "blowOut_area", "jfieldType": "double", "fieldType": "double", "fieldDesc": "飘楼面积", "fieldExample": "1", "fieldComment": null, "fieldLength": 11, "fieldScale": null, "primaryKey": 2, "autoIncrement": 2, "pkStrategy": null, "notNull": 2, "defaultValue": "", "foreignKey": 2, "foreignEntityId": null, "foreignFieldId": null, "editType": 1, "dicType": null, "insert": 1, "update": 1, "list": 1, "columnWidth": null, "listSort": 2, "show": 2, "query": 2, "queryType": null, "orderNo": null, "specialField": null, "createdTime": null, "createdBy": null, "operatedTime": null, "operatedBy": null, "deleted": 0, "version": 0, "value": null, "regular": "", "hint": "", "multipleChoice": null, "multipleChoiceList": null, "dropDown": [] } ], "appendagesVo": [ { "fieldId": 67, "projectId": 200, "entityId": 12, "jfieldName": "attachArea", "fieldName": "attach_area", "jfieldType": "double", "fieldType": "double", "fieldDesc": "附属物面积", "fieldExample": "1", "fieldComment": null, "fieldLength": 11, "fieldScale": null, "primaryKey": 2, "autoIncrement": 2, "pkStrategy": null, "notNull": 2, "defaultValue": "", "foreignKey": 2, "foreignEntityId": null, "foreignFieldId": null, "editType": 1, "dicType": null, "insert": 1, "update": 1, "list": 1, "columnWidth": null, "listSort": 2, "show": 2, "query": 2, "queryType": null, "orderNo": null, "specialField": null, "createdTime": null, "createdBy": null, "operatedTime": null, "operatedBy": null, "deleted": 0, "version": 0, "value": null, "regular": "", "hint": "", "multipleChoice": null, "multipleChoiceList": null, "dropDown": [] }, { "fieldId": 66, "projectId": 200, "entityId": 12, "jfieldName": "attachType", "fieldName": "attach_type", "jfieldType": "varchar", "fieldType": "varchar", "fieldDesc": "附属物类型", "fieldExample": "1", "fieldComment": null, "fieldLength": 50, "fieldScale": null, "primaryKey": 2, "autoIncrement": 2, "pkStrategy": null, "notNull": 2, "defaultValue": "", "foreignKey": 2, "foreignEntityId": null, "foreignFieldId": null, "editType": 1, "dicType": null, "insert": 1, "update": 1, "list": 1, "columnWidth": null, "listSort": 2, "show": 2, "query": 2, "queryType": null, "orderNo": null, "specialField": null, "createdTime": null, "createdBy": null, "operatedTime": null, "operatedBy": null, "deleted": 0, "version": 0, "value": null, "regular": "", "hint": "", "multipleChoice": null, "multipleChoiceList": null, "dropDown": [] } ], "arealistVo": [ { "fieldId": 62, "projectId": 200, "entityId": 7, "jfieldName": "makeshiftHouseArea", "fieldName": "makeshift_house_area", "jfieldType": "double", "fieldType": "double", "fieldDesc": "简易房面积", "fieldExample": "1", "fieldComment": null, "fieldLength": 11, "fieldScale": null, "primaryKey": 2, "autoIncrement": 2, "pkStrategy": null, "notNull": 2, "defaultValue": "", "foreignKey": 2, "foreignEntityId": null, "foreignFieldId": null, "editType": 1, "dicType": null, "insert": 1, "update": 1, "list": 1, "columnWidth": null, "listSort": 2, "show": 2, "query": 2, "queryType": null, "orderNo": 52, "specialField": null, "createdTime": null, "createdBy": null, "operatedTime": null, "operatedBy": null, "deleted": 0, "version": 0, "value": null, "regular": "", "hint": "请输入0-9范围内的数字", "multipleChoice": null, "multipleChoiceList": null, "dropDown": [] } ], "groundBuildingRelationVo": [ { "fieldId": 45, "projectId": 200, "entityId": 8, "jfieldName": "groundBuildingRelation", "fieldName": "ground_building_relation", "jfieldType": "int", "fieldType": "int", "fieldDesc": "所属地块", "fieldExample": "1", "fieldComment": null, "fieldLength": 255, "fieldScale": null, "primaryKey": 2, "autoIncrement": 2, "pkStrategy": null, "notNull": 2, "defaultValue": "", "foreignKey": 2, "foreignEntityId": null, "foreignFieldId": null, "editType": 5, "dicType": null, "insert": 1, "update": 1, "list": 1, "columnWidth": null, "listSort": 2, "show": 2, "query": 2, "queryType": null, "orderNo": 6, "specialField": null, "createdTime": null, "createdBy": null, "operatedTime": null, "operatedBy": null, "deleted": 0, "version": 0, "value": [], "regular": " ", "hint": " ", "multipleChoice": null, "multipleChoiceList": [], "dropDown": [ { "id": 211, "paramType": null, "paramValue": "测试地块1" }, { "id": 210, "paramType": null, "paramValue": "测试地块" } ] } ] } }