You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
### 修改产品(UpdateProduct)编码
|
|
|
|
|
|
|
|
此接口用于修改产品
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 基本信息
|
|
|
|
|
|
|
|
方法:POST
|
|
|
|
|
|
|
|
URL: http://localhost:8033/open/UpdateProduct
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 请求
|
|
|
|
|
|
|
|
请求参数
|
|
|
|
|
|
|
|
| 参数名 | 类型 | 必填 | 说明 |
|
|
|
|
| :-- | :-- | :-- | :-- |
|
|
|
|
| profile | string | 是 | 厂区代码 |
|
|
|
|
| productCode | string | 是| 产品编码 |
|
|
|
|
| familyCode | string | 否 | 标签形式 |
|
|
|
|
| processGroupId | int | 否 | 组件绑定生产流程id |
|
|
|
|
| crysTypeId | int | 否 | 晶体类型-id |
|
|
|
|
| busbarTypeId | int | 否 | 栅线类型-id |
|
|
|
|
| cellQty | int | 否 | 电池片数量-id |
|
|
|
|
| modSpecId | int | 否 | 组件规格-id |
|
|
|
|
| processType | int | 否 | 工艺类型-id |
|
|
|
|
| featureCode | int | 否 | 产品特征-id |
|
|
|
|
| modWeight | string | 否| 组件重量 |
|
|
|
|
| fgCode | string | 否| |
|
|
|
|
|
|
|
|
|
|
|
|
示例 1:修改一个产品基本字段
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
profile: "测试厂区",
|
|
|
|
productCode: "088+089ART-MW",
|
|
|
|
familyCode: "ART550-144MHA",
|
|
|
|
processGroupId: 34,
|
|
|
|
crysTypeId: 12,
|
|
|
|
busbarTypeId: 31,
|
|
|
|
cellQty: 64,
|
|
|
|
modSpecId: 345,
|
|
|
|
processType: 22,
|
|
|
|
featureCode: 34,
|
|
|
|
modWeight: "",
|
|
|
|
fgCode: "",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 响应
|
|
|
|
|
|
|
|
|
|
|
|
执行成功时,响应如下:
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"clock": "2023-06-25 20:00:00.000",
|
|
|
|
"status": "ok",
|
|
|
|
"data": {}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
执行报错:
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"clock": "2023-06-25 20:00:00.000",
|
|
|
|
"status": "exception",
|
|
|
|
"message": "修改产品失败",
|
|
|
|
"data": {}
|
|
|
|
}
|
|
|
|
```
|