|
|
|
### 修改供应商(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": {}
|
|
|
|
}
|
|
|
|
```
|