综合维护 企业管理 - Aladdin-GIS/XiShiGIS GitHub Wiki
1、获得企业表的记录
请求地址: Company/GetAll?
请求方式: 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、初始化企业相关数据字典
请求地址: Param/GetAllGroup
请求方式: post
输入:
| 名称 | 类型 | 注释 | 默认值 |
|---|
输出:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| total | int | 记录总数 | |
| rows | object | 数据 | |
| msg | string | 信息 | |
| success | bool | 成功/失败 | |
| code | int | 代码 | 200 |
3、添加企业
请求地址: Company/Add
请求方式: post
输入:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| COM_NAME | string | 名称 | null |
| COM_BOARDNAME | string | 牌匾名称 | null |
| COM_CODE | string | 企业社会信用代码 | null |
| COM_TAXNUMBER | string | 国税号 | null |
| COM_TAXNUMBER_D | string | 地税号 | null |
| COM_CORPORATION | string | 法人 | null |
| COM_PHONE | string | 电话 | null |
| COM_AREA | string | 面积 | null |
| COM_ISRENT | int | 是否出租 | null |
| COM_ADDRESS | string | 经营地址 | null |
| COM_REGADDRESS | string | 注册地址 | null |
| COM_REMARK | string | 备注 | null |
| CT_ID | int | 类别ID | null |
| CT_NAME | string | 类别名称 | null |
| CS_ID | int | 状态ID | null |
| CS_NAME | string | 状态名称 | null |
| GA_ID | int | 辖区ID | null |
| GA_NAME | string | 辖区名称 | null |
| COM_ID | int | 企业ID | null |
| COM_CORPORATIONCARD | string | 注册资金 | null |
| COM_PERSON | int | 从业人数 | null |
| CI_ID | int | 性质ID | null |
| CI_NAME | string | 性质名称 | null |
输出:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| total | int | 记录总数 | |
| rows | object | 数据 | |
| msg | string | 信息 | |
| success | bool | 成功/失败 | |
| code | int | 代码 | 200 |
4、修改企业
请求地址: Company/Modify
请求方式: post
输入:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| COM_NAME | string | 名称 | null |
| COM_BOARDNAME | string | 牌匾名称 | null |
| COM_CODE | string | 企业社会信用代码 | null |
| COM_TAXNUMBER | string | 国税号 | null |
| COM_TAXNUMBER_D | string | 地税号 | null |
| COM_CORPORATION | string | 法人 | null |
| COM_PHONE | string | 电话 | null |
| COM_AREA | string | 面积 | null |
| COM_ISRENT | int | 是否出租 | null |
| COM_ADDRESS | string | 经营地址 | null |
| COM_REGADDRESS | string | 注册地址 | null |
| COM_REMARK | string | 备注 | null |
| CT_ID | int | 类别ID | null |
| CT_NAME | string | 类别名称 | null |
| CS_ID | int | 状态ID | null |
| CS_NAME | string | 状态名称 | null |
| GA_ID | int | 辖区ID | null |
| GA_NAME | string | 辖区名称 | null |
| COM_ID | int | 企业ID | null |
| COM_CORPORATIONCARD | string | 注册资金 | null |
| COM_PERSON | int | 从业人数 | null |
| CI_ID | int | 性质ID | null |
| CI_NAME | string | 性质名称 | null |
输出:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| total | int | 记录总数 | |
| rows | object | 数据 | |
| msg | string | 信息 | |
| success | bool | 成功/失败 | |
| code | int | 代码 | 200 |
5、删除企业
请求地址: Company/Delete?ids=1,2,3,...
请求方式: get
输入:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| ids | string | 企业ID字符串组 | 0 |
输出:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| total | int | 记录总数 | |
| rows | object | 数据 | |
| msg | string | 信息 | |
| success | bool | 成功/失败 | |
| code | int | 代码 | 200 |
6、删除照片
请求地址: Company/DeletePhoto
请求方式: get
输入:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| id | int | 照片ID | null |
输出:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| total | int | 记录总数 | |
| rows | object | 数据 | |
| msg | string | 信息 | |
| success | bool | 成功/失败 | |
| code | int | 代码 | 200 |
7、获取照片数据
请求地址: Company/QueryPhotos
请求方式: get
输入:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| id | int | 企业ID | null |
输出:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| total | int | 记录总数 | |
| rows | object | 数据 | |
| msg | string | 信息 | |
| success | bool | 成功/失败 | |
| code | int | 代码 | 200 |
8、上传照片数据
请求地址: Company/Upload
请求方式: post
输入:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| COM_ID | int | 企业ID | null |
| COM_NAME | string | 企业名称 | null |
输出:
| 名称 | 类型 | 注释 | 默认值 |
|---|---|---|---|
| total | int | 记录总数 | |
| rows | object | 数据 | |
| msg | string | 信息 | |
| success | bool | 成功/失败 | |
| code | int | 代码 | 200 |