吕成旭
1 year ago
6 changed files with 459 additions and 1 deletions
@ -0,0 +1,91 @@ |
|||
### 修改供应商(UpdateSupplier) |
|||
|
|||
此接口用于修改供应商 |
|||
|
|||
--- |
|||
|
|||
### 基本信息 |
|||
|
|||
方法:POST |
|||
|
|||
URL: http://localhost:8033/open/UpdateSupplier |
|||
|
|||
--- |
|||
|
|||
### 请求 |
|||
|
|||
请求参数 |
|||
|
|||
| 参数名 | 类型 | 必填 | 说明 | |
|||
| :-- | :-- | :-- | :-- | |
|||
| profile | string | 是 | 厂区编码 | |
|||
| supplierCode | string | 否 | 供应商编码 | |
|||
| descriptions | string | 否 | 供应商名称 | |
|||
| flag | int | 否 | 数据状态:0禁用 1启用 | |
|||
| v_flag_cell | int | 否 | 电池片供应商,0否 1是 | |
|||
| v_flag_bks | int | 否 | 背板供应商,0否 1是 | |
|||
| v_flag_eva | int | 否 | EVA供应商,0否 1是 | |
|||
| v_flag_glass | int | 否 | 玻璃供应商,0否 1是 | |
|||
| v_flag_hulian | int | 否 | 互联条供应商,0否 1是 | |
|||
| v_flag_huiliu | int | 否 | 汇流条供应商,0否 1是 | |
|||
| v_flag_jbox | int | 否 | 接线盒供应商,0否 1是 | |
|||
| v_flag_glue | int | 否 | 胶供应商,0否 1是 | |
|||
| v_flag_frame | int | 否 | 边框供应商,0否 1是 | |
|||
| v_flag_solder | int | 否 | 助焊剂供应商,0否 1是 | |
|||
| v_flag_abglue | int | 否 | AB胶供应商,0否 1是 | |
|||
| v_flag_frameglue | int | 否 | 边框胶供应商,0否 1是 | |
|||
| v_flag_jboxglue | int | 否 | 线盒胶供应商,0否 1是 | |
|||
| v_flag_isolatingbar | int | 否 | 隔离条供应商,0否 1是 | |
|||
|
|||
示例 1:模糊查询玻璃 |
|||
|
|||
``` |
|||
{ |
|||
"data": { |
|||
profile:"测试厂区", |
|||
supplierCode: "1002210180009192", |
|||
descriptions: "无锡市江松科技有限公司", |
|||
flag: 1, |
|||
v_flag_cell: 1, |
|||
v_flag_bks: 1, |
|||
v_flag_eva: 0, |
|||
v_flag_glass: 0, |
|||
v_flag_hulian: 0, |
|||
v_flag_huiliu: 0, |
|||
v_flag_jbox: 0, |
|||
v_flag_glue: 0, |
|||
v_flag_frame: 0, |
|||
v_flag_solder: 0, |
|||
v_flag_abglue: 0, |
|||
v_flag_frameglue: 0, |
|||
v_flag_jboxglue: 0, |
|||
v_flag_isolatingbar: 0, |
|||
} |
|||
} |
|||
``` |
|||
|
|||
--- |
|||
|
|||
### 响应 |
|||
|
|||
|
|||
执行成功时,响应如下: |
|||
|
|||
``` |
|||
{ |
|||
"clock": "2023-06-25 20:00:00.000", |
|||
"status": "ok", |
|||
"data": {} |
|||
} |
|||
``` |
|||
|
|||
执行报错: |
|||
|
|||
``` |
|||
{ |
|||
"clock": "2023-06-25 20:00:00.000", |
|||
"status": "exception", |
|||
"message": "执行失败", |
|||
"data": {} |
|||
} |
|||
``` |
@ -0,0 +1,119 @@ |
|||
### 列出供应商(ListSupplier) |
|||
|
|||
此接口用于获取供应商 |
|||
|
|||
--- |
|||
|
|||
### 基本信息 |
|||
|
|||
方法:POST |
|||
|
|||
URL: http://localhost:8033/open/ListSupplier |
|||
|
|||
--- |
|||
|
|||
### 请求 |
|||
|
|||
请求参数 |
|||
|
|||
| 参数名 | 类型 | 必填 | 说明 | |
|||
| :-- | :-- | :-- | :-- | |
|||
| profile | string | 是 | 厂区编码 | |
|||
| search | string | 否 | 供应商编码、名称模糊查询 | |
|||
|
|||
示例 1:模糊查询玻璃 |
|||
|
|||
``` |
|||
{ |
|||
"data": { |
|||
profile:"测试厂区", |
|||
search: "互利", |
|||
} |
|||
} |
|||
``` |
|||
|
|||
--- |
|||
|
|||
### 响应 |
|||
|
|||
响应字段 |
|||
|
|||
| 字段 | 类型 | 说明 | |
|||
| :-- | :-- | :-- | |
|||
| supplierCode | string | 供应商编码 | |
|||
| descriptions | string | 供应商名称 | |
|||
| flag | int | 数据状态:0禁用 1启用 | |
|||
| v_flag_cell | int | 电池片供应商,0否 1是 | |
|||
| v_flag_bks | int | 背板供应商,0否 1是 | |
|||
| v_flag_eva | int | EVA供应商,0否 1是 | |
|||
| v_flag_glass | int | 玻璃供应商,0否 1是 | |
|||
| v_flag_hulian | int | 互联条供应商,0否 1是 | |
|||
| v_flag_huiliu | int | 汇流条供应商,0否 1是 | |
|||
| v_flag_jbox | int | 接线盒供应商,0否 1是 | |
|||
| v_flag_glue | int | 胶供应商,0否 1是 | |
|||
| v_flag_frame | int | 边框供应商,0否 1是 | |
|||
| v_flag_solder | int | 助焊剂供应商,0否 1是 | |
|||
| v_flag_abglue | int | AB胶供应商,0否 1是 | |
|||
| v_flag_frameglue | int | 边框胶供应商,0否 1是 | |
|||
| v_flag_jboxglue | int | 线盒胶供应商,0否 1是 | |
|||
| v_flag_isolatingbar | int | 隔离条供应商,0否 1是 | |
|||
|
|||
查询成功时,响应如下: |
|||
|
|||
``` |
|||
{ |
|||
"clock": "2023-06-25 20:00:00.000", |
|||
"status": "ok", |
|||
"data": [ |
|||
{ |
|||
supplierCode:"1002210180009192", |
|||
descriptions:"无锡联晟光伏科技有限公司", |
|||
flag:1, |
|||
v_flag_cell:1, |
|||
v_flag_bks:1, |
|||
v_flag_eva:0, |
|||
v_flag_glass:0, |
|||
v_flag_hulian:0, |
|||
v_flag_huiliu:0, |
|||
v_flag_jbox:0, |
|||
v_flag_glue:0, |
|||
v_flag_frame:0, |
|||
v_flag_solder:0, |
|||
v_flag_abglue:0, |
|||
v_flag_frameglue:0, |
|||
v_flag_jboxglue:0, |
|||
v_flag_isolatingbar:0, |
|||
}, |
|||
{ |
|||
supplierCode:"1002210180009206", |
|||
descriptions:"无锡梦鼎光电科技有限公司", |
|||
flag:1, |
|||
v_flag_cell:1, |
|||
v_flag_bks:1, |
|||
v_flag_eva:0, |
|||
v_flag_glass:0, |
|||
v_flag_hulian:0, |
|||
v_flag_huiliu:1, |
|||
v_flag_jbox:0, |
|||
v_flag_glue:0, |
|||
v_flag_frame:0, |
|||
v_flag_solder:0, |
|||
v_flag_abglue:0, |
|||
v_flag_frameglue:0, |
|||
v_flag_jboxglue:0, |
|||
v_flag_isolatingbar:0, |
|||
} |
|||
] |
|||
} |
|||
``` |
|||
|
|||
查询报错: |
|||
|
|||
``` |
|||
{ |
|||
"clock": "2023-06-25 20:00:00.000", |
|||
"status": "exception", |
|||
"message": "查询失败", |
|||
"data": {} |
|||
} |
|||
``` |
@ -0,0 +1,59 @@ |
|||
### 删除供应商(DeleteSupplier) |
|||
|
|||
此接口用于查询供应商详情 |
|||
|
|||
--- |
|||
|
|||
### 基本信息 |
|||
|
|||
方法:POST |
|||
|
|||
URL: http://localhost:8033/open/DeleteSupplier |
|||
|
|||
--- |
|||
|
|||
### 请求 |
|||
|
|||
请求参数 |
|||
|
|||
| 参数名 | 类型 | 必填 | 说明 | |
|||
| :-- | :-- | :-- | :-- | |
|||
| profile | string | 是 | 厂区编码 | |
|||
| supplierCode | string | 否 | 供应商编码 | |
|||
|
|||
示例 1:模糊查询玻璃 |
|||
|
|||
``` |
|||
{ |
|||
"data": { |
|||
profile:"测试厂区", |
|||
supplierCode: "1002210180009192", |
|||
} |
|||
} |
|||
``` |
|||
|
|||
--- |
|||
|
|||
### 响应 |
|||
|
|||
|
|||
执行成功时,响应如下: |
|||
|
|||
``` |
|||
{ |
|||
"clock": "2023-06-25 20:00:00.000", |
|||
"status": "ok", |
|||
"data":{} |
|||
} |
|||
``` |
|||
|
|||
执行报错: |
|||
|
|||
``` |
|||
{ |
|||
"clock": "2023-06-25 20:00:00.000", |
|||
"status": "exception", |
|||
"message": "执行失败", |
|||
"data": {} |
|||
} |
|||
``` |
@ -0,0 +1,98 @@ |
|||
### 查询供应商详情(QuerySupplier) |
|||
|
|||
此接口用于查询供应商详情 |
|||
|
|||
--- |
|||
|
|||
### 基本信息 |
|||
|
|||
方法:POST |
|||
|
|||
URL: http://localhost:8033/open/QuerySupplier |
|||
|
|||
--- |
|||
|
|||
### 请求 |
|||
|
|||
请求参数 |
|||
|
|||
| 参数名 | 类型 | 必填 | 说明 | |
|||
| :-- | :-- | :-- | :-- | |
|||
| profile | string | 是 | 厂区编码 | |
|||
| supplierCode | string | 否 | 供应商编码 | |
|||
|
|||
示例 1:模糊查询玻璃 |
|||
|
|||
``` |
|||
{ |
|||
"data": { |
|||
profile:"测试厂区", |
|||
supplierCode: "1002210180009192", |
|||
} |
|||
} |
|||
``` |
|||
|
|||
--- |
|||
|
|||
### 响应 |
|||
|
|||
响应字段 |
|||
|
|||
| 字段 | 类型 | 说明 | |
|||
| :-- | :-- | :-- | |
|||
| supplierCode | string | 供应商编码 | |
|||
| descriptions | string | 供应商名称 | |
|||
| flag | int | 数据状态:0禁用 1启用 | |
|||
| v_flag_cell | int | 电池片供应商,0否 1是 | |
|||
| v_flag_bks | int | 背板供应商,0否 1是 | |
|||
| v_flag_eva | int | EVA供应商,0否 1是 | |
|||
| v_flag_glass | int | 玻璃供应商,0否 1是 | |
|||
| v_flag_hulian | int | 互联条供应商,0否 1是 | |
|||
| v_flag_huiliu | int | 汇流条供应商,0否 1是 | |
|||
| v_flag_jbox | int | 接线盒供应商,0否 1是 | |
|||
| v_flag_glue | int | 胶供应商,0否 1是 | |
|||
| v_flag_frame | int | 边框供应商,0否 1是 | |
|||
| v_flag_solder | int | 助焊剂供应商,0否 1是 | |
|||
| v_flag_abglue | int | AB胶供应商,0否 1是 | |
|||
| v_flag_frameglue | int | 边框胶供应商,0否 1是 | |
|||
| v_flag_jboxglue | int | 线盒胶供应商,0否 1是 | |
|||
| v_flag_isolatingbar | int | 隔离条供应商,0否 1是 | |
|||
|
|||
查询成功时,响应如下: |
|||
|
|||
``` |
|||
{ |
|||
"clock": "2023-06-25 20:00:00.000", |
|||
"status": "ok", |
|||
"data":{ |
|||
supplierCode:"1002210180009192", |
|||
descriptions:"无锡联晟光伏科技有限公司", |
|||
flag:1, |
|||
v_flag_cell:1, |
|||
v_flag_bks:1, |
|||
v_flag_eva:0, |
|||
v_flag_glass:0, |
|||
v_flag_hulian:0, |
|||
v_flag_huiliu:0, |
|||
v_flag_jbox:0, |
|||
v_flag_glue:0, |
|||
v_flag_frame:0, |
|||
v_flag_solder:0, |
|||
v_flag_abglue:0, |
|||
v_flag_frameglue:0, |
|||
v_flag_jboxglue:0, |
|||
v_flag_isolatingbar:0, |
|||
} |
|||
} |
|||
``` |
|||
|
|||
查询报错: |
|||
|
|||
``` |
|||
{ |
|||
"clock": "2023-06-25 20:00:00.000", |
|||
"status": "exception", |
|||
"message": "查询失败", |
|||
"data": {} |
|||
} |
|||
``` |
@ -0,0 +1,91 @@ |
|||
### 添加供应商(AddSupplier) |
|||
|
|||
此接口用于添加供应商 |
|||
|
|||
--- |
|||
|
|||
### 基本信息 |
|||
|
|||
方法:POST |
|||
|
|||
URL: http://localhost:8033/open/AddSupplier |
|||
|
|||
--- |
|||
|
|||
### 请求 |
|||
|
|||
请求参数 |
|||
|
|||
| 参数名 | 类型 | 必填 | 说明 | |
|||
| :-- | :-- | :-- | :-- | |
|||
| profile | string | 是 | 厂区编码 | |
|||
| supplierCode | string | 否 | 供应商编码 | |
|||
| descriptions | string | 否 | 供应商名称 | |
|||
| flag | int | 否 | 数据状态:0禁用 1启用 | |
|||
| v_flag_cell | int | 否 | 电池片供应商,0否 1是 | |
|||
| v_flag_bks | int | 否 | 背板供应商,0否 1是 | |
|||
| v_flag_eva | int | 否 | EVA供应商,0否 1是 | |
|||
| v_flag_glass | int | 否 | 玻璃供应商,0否 1是 | |
|||
| v_flag_hulian | int | 否 | 互联条供应商,0否 1是 | |
|||
| v_flag_huiliu | int | 否 | 汇流条供应商,0否 1是 | |
|||
| v_flag_jbox | int | 否 | 接线盒供应商,0否 1是 | |
|||
| v_flag_glue | int | 否 | 胶供应商,0否 1是 | |
|||
| v_flag_frame | int | 否 | 边框供应商,0否 1是 | |
|||
| v_flag_solder | int | 否 | 助焊剂供应商,0否 1是 | |
|||
| v_flag_abglue | int | 否 | AB胶供应商,0否 1是 | |
|||
| v_flag_frameglue | int | 否 | 边框胶供应商,0否 1是 | |
|||
| v_flag_jboxglue | int | 否 | 线盒胶供应商,0否 1是 | |
|||
| v_flag_isolatingbar | int | 否 | 隔离条供应商,0否 1是 | |
|||
|
|||
示例 1:模糊查询玻璃 |
|||
|
|||
``` |
|||
{ |
|||
"data": { |
|||
profile:"测试厂区", |
|||
supplierCode: "1002210180009192", |
|||
descriptions: "", |
|||
flag: 1, |
|||
v_flag_cell: 1, |
|||
v_flag_bks: 1, |
|||
v_flag_eva: 0, |
|||
v_flag_glass: 0, |
|||
v_flag_hulian: 0, |
|||
v_flag_huiliu: 0, |
|||
v_flag_jbox: 0, |
|||
v_flag_glue: 0, |
|||
v_flag_frame: 0, |
|||
v_flag_solder: 0, |
|||
v_flag_abglue: 0, |
|||
v_flag_frameglue: 0, |
|||
v_flag_jboxglue: 0, |
|||
v_flag_isolatingbar: 0, |
|||
} |
|||
} |
|||
``` |
|||
|
|||
--- |
|||
|
|||
### 响应 |
|||
|
|||
|
|||
执行成功时,响应如下: |
|||
|
|||
``` |
|||
{ |
|||
"clock": "2023-06-25 20:00:00.000", |
|||
"status": "ok", |
|||
"data": {} |
|||
} |
|||
``` |
|||
|
|||
执行报错: |
|||
|
|||
``` |
|||
{ |
|||
"clock": "2023-06-25 20:00:00.000", |
|||
"status": "exception", |
|||
"message": "执行失败", |
|||
"data": {} |
|||
} |
|||
``` |
Loading…
Reference in new issue