综合维护 楼房管理 - Aladdin-GIS/XiShiGIS GitHub Wiki
1、根据用户获得楼房表的记录
请求地址: Building/GetAllByUser?
请求方式: post
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
start | int | 起始页 | 0 |
limit | int | 页数 | 10 |
order | string | 排序字段 | null |
sort | string | 排序方式 | null |
search | string | 过滤条件 | null |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
2、企业入驻
请求地址: CompanyOwnerInfo/EnterCompany
请求方式: post
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
MOI_ID | int | 楼房ID | 0 |
COM_ID | int | 企业ID | null |
F_ID | int | 楼层ID | null |
R_ID | int | 房间ID | null |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
3、添加楼房
请求地址: Building/Add
请求方式: post
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
MOI_LabelName | string | 标签名称 | null |
MOI_OwnerName | string | 名称 | null |
MOI_OwnerAddress | string | 地址 | null |
MOI_OwnerTel | string | 电话 | null |
MOI_OwnerDes | string | 描述 | null |
MOI_ID | int | 楼房ID | null |
MEH_Croods | string | 坐标串 | null |
MEH_Croods_GEOM_TEXT | string | 坐标串地理 | null |
MEH_CenterX | int | X坐标 | 0 |
MEH_CenterY | int | Y坐标 | 0 |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
4、修改楼房
请求地址: Building/Modify
请求方式: post
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
MOI_LabelName | string | 标签名称 | null |
MOI_OwnerName | string | 名称 | null |
MOI_OwnerAddress | string | 地址 | null |
MOI_OwnerTel | string | 电话 | null |
MOI_OwnerDes | string | 描述 | null |
MOI_ID | int | 楼房ID | null |
MEH_Croods | string | 坐标串 | null |
MEH_Croods_GEOM_TEXT | string | 坐标串地理 | null |
MEH_CenterX | int | X坐标 | 0 |
MEH_CenterY | int | Y坐标 | 0 |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
5、删除楼房
请求地址: Building/Delete?ids=1,2,3,...
请求方式: get
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
ids | string | 楼房ID字符串组 | 0 |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
6、查询楼房照片
请求地址: Building/QueryPhotos
请求方式: get
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
id | int | 楼房ID | null |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
7、删除照片
请求地址: Building/DeletePhoto
请求方式: get
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
id | int | 照片ID | null |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
8、添加楼层
请求地址: Floors/Add
请求方式: get
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
oid | int | 楼房ID | 0 |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
9、删除楼层
请求地址: Floors/Delete
请求方式: get
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
fid | int | 楼层ID | 0 |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
10、获取楼层
请求地址: Floors/GetAll
请求方式: get
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
oid | int | 楼房ID | 0 |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
11、获取房间
请求地址: Rooms/GetAll
请求方式: get
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
fid | int | 楼层ID | 0 |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
12、添加房间
请求地址: Rooms/Add
请求方式: get
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
oid | int | 楼房ID | 0 |
fid | int | 楼层ID | 0 |
rname | string | 房间 | 0 |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
12、删除房间
请求地址: Rooms/Delete
请求方式: get
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
rid | int | 房间ID | 0 |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
13、入驻企业列表
请求地址: Company/GetEnterCompanyAll
请求方式: post
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
start | int | 起始页 | 0 |
limit | int | 页数 | 10 |
order | string | 排序字段 | null |
sort | string | 排序方式 | null |
search | string | 过滤条件 | null |
MOI_ID | int | 楼房ID | null |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
14、初始化未入驻企业列表
请求地址: Company/GetNoEnterCompanyAll
请求方式: post
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
start | int | 起始页 | 0 |
limit | int | 页数 | 10 |
order | string | 排序字段 | null |
sort | string | 排序方式 | null |
search | string | 过滤条件 | null |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |
15、删除入驻企业
请求地址: CompanyOwnerInfo/DeleteCompany
请求方式: post
输入:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
MOI_ID | int | 楼房ID | 0 |
COM_ID | int | 企业ID | 10 |
输出:
名称 | 类型 | 注释 | 默认值 |
---|---|---|---|
total | int | 记录总数 | |
rows | object | 数据 | |
msg | string | 信息 | |
success | bool | 成功/失败 | |
code | int | 代码 | 200 |