|
|
|
### 查询供应商详情(GetSupplier)
|
|
|
|
|
|
|
|
此接口用于查询供应商详情
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 基本信息
|
|
|
|
|
|
|
|
方法:POST
|
|
|
|
|
|
|
|
URL: http://localhost:8033/open/GetSupplier
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 请求
|
|
|
|
|
|
|
|
请求参数
|
|
|
|
|
|
|
|
| 参数名 | 类型 | 必填 | 说明 |
|
|
|
|
| :-- | :-- | :-- | :-- |
|
|
|
|
| profile | string | 是 | 厂区编码 |
|
|
|
|
| supplierCode | string | 否 | 供应商编码 |
|
|
|
|
|
|
|
|
示例 1:查询供应商详情
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
profile: "测试厂区",
|
|
|
|
supplierCode: "1002210180009192",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 响应
|
|
|
|
|
|
|
|
响应字段
|
|
|
|
|
|
|
|
| 字段 | 类型 | 说明 |
|
|
|
|
| :-- | :-- | :-- |
|
|
|
|
| supplierCode | string | 供应商编码 |
|
|
|
|
| descriptions | string | 供应商名称 |
|
|
|
|
| flag | int | 数据状态:0禁用 1启用 |
|
|
|
|
| vFlagCell | int | 电池片供应商,0否 1是 |
|
|
|
|
| vFlagBks | int | 背板供应商,0否 1是 |
|
|
|
|
| vFlagEva | int | EVA供应商,0否 1是 |
|
|
|
|
| vFlagGlass | int | 玻璃供应商,0否 1是 |
|
|
|
|
| vFlagHulian | int | 互联条供应商,0否 1是 |
|
|
|
|
| vFlagHuiliu | int | 汇流条供应商,0否 1是 |
|
|
|
|
| vFlagJbox | int | 接线盒供应商,0否 1是 |
|
|
|
|
| vFlagGlue | int | 胶供应商,0否 1是 |
|
|
|
|
| vFlagFrame | int | 边框供应商,0否 1是 |
|
|
|
|
| vFlagSolder | int | 助焊剂供应商,0否 1是 |
|
|
|
|
| vFlagABGlue | int | AB胶供应商,0否 1是 |
|
|
|
|
| vFlagFrameglue | int | 边框胶供应商,0否 1是 |
|
|
|
|
| vFlagJboxglue | int | 线盒胶供应商,0否 1是 |
|
|
|
|
| vFlagIsolatingbar | int | 隔离条供应商,0否 1是 |
|
|
|
|
|
|
|
|
查询成功时,响应如下:
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"clock": "2023-06-25 20:00:00.000",
|
|
|
|
"status": "ok",
|
|
|
|
"data": {
|
|
|
|
info: {
|
|
|
|
supplierCode: "1002210180009192",
|
|
|
|
descriptions: "无锡联晟光伏科技有限公司",
|
|
|
|
flag: 1,
|
|
|
|
vFlagCell: 1,
|
|
|
|
vFlagBks: 1,
|
|
|
|
vFlagEva: 0,
|
|
|
|
vFlagGlass: 0,
|
|
|
|
vFlagHulian: 0,
|
|
|
|
vFlagHuiliu: 0,
|
|
|
|
vFlagJbox: 0,
|
|
|
|
vFlagGlue: 0,
|
|
|
|
vFlagFrame: 0,
|
|
|
|
vFlagSolder: 0,
|
|
|
|
vFlagABGlue: 0,
|
|
|
|
vFlagFrameglue: 0,
|
|
|
|
vFlagJboxglue: 0,
|
|
|
|
vFlagIsolatingbar: 0,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
查询报错:
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"clock": "2023-06-25 20:00:00.000",
|
|
|
|
"status": "exception",
|
|
|
|
"message": "查询失败",
|
|
|
|
"data": {}
|
|
|
|
}
|
|
|
|
```
|