|
|
|
### 查询供应商详情(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": {}
|
|
|
|
}
|
|
|
|
```
|