丁小岩 1 year ago
parent
commit
e7835269b5
  1. 64
      mes/BOM/删除单个BOM内容.md
  2. 62
      mes/BOM/删除工单所有BOM信息.md
  3. 146
      mes/BOM/查询工单BOM明细.md
  4. 10
      mes/BOM/添加工单BOM信息.md
  5. 154
      mes/产品/修改产品.md
  6. 165
      mes/产品/列出产品.md
  7. 4
      mes/产品/删除产品.md
  8. 160
      mes/产品/查询产品详情.md
  9. 155
      mes/产品/添加产品.md
  10. 18
      mes/供应商/修改供应商.md
  11. 39
      mes/供应商/列出供应商.md
  12. 4
      mes/供应商/删除供应商.md
  13. 20
      mes/供应商/查询供应商详情.md
  14. 17
      mes/供应商/添加供应商.md
  15. 74
      mes/物料/修改物料.md
  16. 111
      mes/物料/列出物料.md
  17. 76
      mes/物料/列出物料类别.md
  18. 4
      mes/物料/删除物料.md
  19. 111
      mes/物料/查询物料详情.md
  20. 75
      mes/物料/添加物料.md
  21. 52
      mes/选项/列出产品标签形式.md
  22. 29
      mes/选项/列出产品特征.md
  23. 28
      mes/选项/列出工艺类型.md
  24. 28
      mes/选项/列出晶体类型.md
  25. 28
      mes/选项/列出栅线类型.md
  26. 28
      mes/选项/列出电池片数量.md
  27. 29
      mes/选项/列出组件规格.md

64
mes/BOM/删除单个BOM内容.md

@ -0,0 +1,64 @@
### 删除单个BOM内容(DeleteBomMfgEntry)
此接口用于删除单个BOM内容
---
### 基本信息
方法:POST
URL: http://localhost:8033/open/DeleteBomMfgEntry
---
### 请求
请求参数
| 参数名 | 类型 | 必填 | 说明 |
| :-- | :-- | :-- | :-- |
| profile | string | 是 | 厂区代码 |
| Workorder | string | 是 | 工单号 |
| ProductCode | string | 是 | 产品编码 |
| MaterialCode | string | 是 | 物料编码 |
示例 1:删除指定产品
```
{
"data": {
"profile": "测试",
"Workorder": "2014568",
"ProductCode": "D020200-00038",
"MaterialCode": "自制"
}
}
```
---
### 响应
执行成功时,响应如下:
```
{
"clock": "2023-06-25 20:00:00.000",
"status": "ok",
"data": {}
}
```
执行报错:
```
{
"clock": "2023-06-25 20:00:00.000",
"status": "exception",
"message": "删除产品失败",
"data": {}
}
```

62
mes/BOM/删除工单所有BOM信息.md

@ -0,0 +1,62 @@
### 删除工单所有BOM信息(DeleteBomMfgEntry)
此接口用于删除工单所有BOM信息
---
### 基本信息
方法:POST
URL: http://localhost:8033/open/DeleteBomMfgEntry
---
### 请求
请求参数
| 参数名 | 类型 | 必填 | 说明 |
| :-- | :-- | :-- | :-- |
| profile | string | 是 | 厂区代码 |
| Workorder | string | 是 | 工单号 |
| ProductCode | string | 是 | 产品编码 |
示例 1:删除指定产品
```
{
"data": {
"profile": "测试",
"Workorder": "2014568",
"ProductCode": "D020200-00038"
}
}
```
---
### 响应
执行成功时,响应如下:
```
{
"clock": "2023-06-25 20:00:00.000",
"status": "ok",
"data": {}
}
```
执行报错:
```
{
"clock": "2023-06-25 20:00:00.000",
"status": "exception",
"message": "删除产品失败",
"data": {}
}
```

146
mes/BOM/查询工单BOM明细.md

@ -28,8 +28,8 @@ URL: http://localhost:8033/open/getWorkorderBom
``` ```
{ {
"data": { "data": {
"profile": "测试厂区", "profile": "测试",
"workorder": "1407", "workorder": "workorders"
} }
} }
``` ```
@ -40,57 +40,107 @@ URL: http://localhost:8033/open/getWorkorderBom
响应字段 响应字段
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 说明 |
| :-- | :-- | :-- | :-- | | :-- | :-- | :-- |
| workorder | string | 是 | 工单号 | | workorder | string | 工单号 |
| productCode | string | 是 | 产品编码 | | productCode | string | 产品编码 |
| bomId | string | 是 | bomId | | bomId | string | bomId |
| materialCode | string | 是 | 物料编码 | | materialCode | string | 物料编码 |
| isPrimary | int | 否 | 是否主料 0否,1是| | isPrimary | int | 是否主料 0否,1是|
| primaryPart | string | 否 | 主料物料编码,如果isPrimary=1,则与materialCode相同 | | primaryPart | string | 主料物料编码,如果isPrimary=1,则与materialCode相同 |
| ProcessCode | string | 否 | 工序代码 | | ProcessCode | string | 工序代码 |
| SerialRequirement | double | 否 | 物料单耗 | | SerialRequirement | double | 物料单耗 |
| Uom | string | 否 | 单位 | | uom | string | 单位 |
| PartType | string | 否 | 物料类别编码 | | PartType | string | 物料类别编码 |
| PartTypeDesc | string | 否 | 物料类别描述 | | partTypeDesc | string | 物料类别描述 |
| LostRatio | string | 否 | 物料损耗 | | lostRatio | string | 物料损耗 |
| OrigBatchNbr | string | 否 | 母批号 | | origBatchNbr | string | 母批号 |
查询成功时,响应如下: 查询成功时,响应如下:
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-04 18:07:52.287",
"status": "ok", "status": "ok",
"data": { "data": {
"list": [{ "list": [
"workorder": "1407", {
"productCode": "PD004", "workorder": "workorders",
"bomId": "1231413", "productCode": "prodect_code",
"materialCode": "CELL001", "bomId": "",
"isPrimary": 1, "materialCode": "1002211010018723",
"primaryPart": "CELL001", "isPrimary": 1,
"ProcessCode": "M15", "primaryPart": "1002211010018723",
"SerialRequirement": 3.2, "processCode": "M15",
"Uom": "pcs", "serialRequirement": 1.0,
"PartType": "CELL", "uom": "m2",
"LostRatio": 0.01, "partType": "EVA",
"OrigBatchNbr": "" "partTypeDesc": "EVA",
}, { "lostRatio": 0.0,
"workorder": "1407", "origBatchNbr": "1002211010018723"
"productCode": "PD004", },
"bomId": "1231413", {
"materialCode": "CELL002", "workorder": "workorders",
"isPrimary": 0, "productCode": "prodect_code",
"primaryPart": "CELL001", "bomId": "",
"ProcessCode": "M15", "materialCode": "333",
"SerialRequirement": 3.2, "isPrimary": 1,
"Uom": "pcs", "primaryPart": "333",
"PartType": "CELL", "processCode": "M10",
"LostRatio": 0.01, "serialRequirement": 1.0,
"OrigBatchNbr": "" "uom": "pcs",
}] "partType": "CELL",
} "partTypeDesc": "电池片",
"lostRatio": 0.0,
"origBatchNbr": "333"
},
{
"workorder": "workorders",
"productCode": "prodect_code",
"bomId": "",
"materialCode": "boli001",
"isPrimary": 1,
"primaryPart": "boli001",
"processCode": "M10",
"serialRequirement": 1.0,
"uom": "pcs",
"partType": "GLASS",
"partTypeDesc": "玻璃",
"lostRatio": 0.0,
"origBatchNbr": "boli001"
},
{
"workorder": "workorders",
"productCode": "prodect_code",
"bomId": "",
"materialCode": "flux_materials_class",
"isPrimary": 1,
"primaryPart": "flux_materials_class",
"processCode": "M10",
"serialRequirement": 1.0,
"uom": "桶_describe",
"partType": "Solder",
"partTypeDesc": "助焊剂",
"lostRatio": 0.0,
"origBatchNbr": "flux_materials_class"
},
{
"workorder": "workorders",
"productCode": "prodect_code",
"bomId": "",
"materialCode": "flux_materials_class_2",
"isPrimary": 1,
"primaryPart": "flux_materials_class_2",
"processCode": "M10",
"serialRequirement": 100.0,
"uom": "桶_describe",
"partType": "Solder",
"partTypeDesc": "助焊剂",
"lostRatio": 0.0,
"origBatchNbr": "flux_materials_class_2"
}
]
}
} }
``` ```

10
mes/BOM/添加工单BOM信息.md

@ -32,11 +32,11 @@ bom字段
| isPrimary | int | 否 | 是否主料 0否,1是| | isPrimary | int | 否 | 是否主料 0否,1是|
| primaryPart | string | 否 | 主料物料编码,如果isPrimary=1,则与materialCode相同 | | primaryPart | string | 否 | 主料物料编码,如果isPrimary=1,则与materialCode相同 |
| ProcessCode | string | 否 | 工序代码 | | ProcessCode | string | 否 | 工序代码 |
| SerialRequirement | double | 否 | 物料单耗 | | serialRequirement | double | 是 | 物料单耗 |
| Uom | string | 否 | 单位 | | uom | string | 否 | 单位 |
| PartType | string | 否 | 物料类别 | | partType | string | 否 | 物料类别 |
| LostRatio | string | 否 | 物料损耗 | | lostRatio | string | 否 | 物料损耗 |
| OrigBatchNbr | string | 否 | 母批号 | | origBatchNbr | string | 否 | 母批号 |
示例 1:保存工单bom信息 示例 1:保存工单bom信息

154
mes/产品/修改产品.md

@ -37,18 +37,18 @@ URL: http://localhost:8033/open/UpdateProduct
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
productCode: "088+089ART-MW", "productCode": "088+089ART-MW",
familyCode: "ART550-144MHA", "familyCode": "ART550-144MHA",
processGroupId: 34, "processGroupId": 34,
crysTypeId: 12, "crysTypeId": 12,
busbarTypeId: 31, "busbarTypeId": 31,
cellQty: 64, "cellQty": 64,
modSpecId: 345, "modSpecId": 345,
processType: 22, "processType": 22,
featureCode: 34, "featureCode": 34,
modWeight: "", "modWeight": "",
fgCode: "", "fgCode": "",
} }
} }
``` ```
@ -62,9 +62,133 @@ URL: http://localhost:8033/open/UpdateProduct
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 13:58:49.886",
"status": "ok", "status": "ok",
"data": {} "data": {
"info": {
"productCode": "088+089ART-MW",
"familyCode": "ART550-144MHA",
"processGroupId": 0,
"crysTypeId": 12,
"crysTypeDesc": "12BB",
"crysTypeValue": "12BB",
"busbarTypeId": 31,
"busbarTypeDesc": "78",
"busbarTypeValue": "78",
"cellQty": 0,
"cellQtyDesc": "D",
"cellQtyValue": "D",
"cellColorId": 0,
"cellColorDesc": "N/A",
"cellColorValue": "N/A",
"modSpecId": 13,
"modSpecDesc": "2465*1134*35",
"modSpecValue": "2465*1134*35",
"modWeight": "",
"fgCode": "",
"createDate": "2022-01-10 23:10:01.890",
"lastUpdate": "2023-07-05 13:58:49.843",
"lastUpdateuser": "",
"processType": 22,
"processTypedesc": "A",
"processTypeValue": "A",
"featureCode": 34,
"featureCodeDesc": "OK",
"featureCodeValue": "OK",
"serialCodeRule": "",
"palletCodeRule": "",
"attrs": [
{
"id": null,
"attributeId": null,
"attributeDesc": "颜色1",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "背板类型",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "产品电池片尺寸",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "边框类型",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "玻璃类型",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "产品组件类型",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "包装数量",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "仓库属性",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
}
]
}
}
} }
``` ```

165
mes/产品/列出产品.md

@ -27,7 +27,7 @@ URL: http://localhost:8033/open/ListProduct
{ {
"data": { "data": {
profile: "测试厂区", profile: "测试厂区",
search: "组件001", search: "test001",
} }
} }
``` ```
@ -88,62 +88,113 @@ attrs字段
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 10:43:08.773",
"status": "ok", "status": "ok",
"data": { "data": {
list: [{ "list": [
productCode: "088+089ART-MW", {
familyCode: "ART550-144MHA", "productCode": "test001",
processGroupId: 0, "familyCode": "label_code",
crysTypeId: 38, "processGroupId": 0,
crysTypeDesc: "单晶", "crysTypeId": 38,
crysTypeValue: "M", "crysTypeDesc": "单晶",
busbarTypeId: 37, "crysTypeValue": "M",
busbarTypeDesc: "11BB", "busbarTypeId": 132,
busbarTypeValue: "11BB", "busbarTypeDesc": "grid_describe",
cellQty: 144, "busbarTypeValue": "grid_code",
cellQtyDesc: "144", "cellQty": 122,
cellQtyValue: "144", "cellQtyDesc": "122",
modSpecId: 49, "cellQtyValue": "122",
modSpecDesc: "2279*1134*35", "cellColorId": 0,
modSpecValue: "2279*1134*35", "cellColorDesc": "N/A",
processType: 39, "cellColorValue": "N/A",
processTypedesc: "单玻组件", "modSpecId": 69,
processTypeValue: "单玻组件", "modSpecDesc": "1722*1134*30",
featureCode: 9, "modSpecValue": "1722*1134*30",
featureCodeDesc: "P", "modWeight": "N/A",
featureCodeValue: "P", "fgCode": "N/A",
modWeight: "", "createDate": "2023-06-07 09:52:49.030",
fgCode: "", "lastUpdate": "2023-06-07 10:12:54.623",
createDate: "2022-01-10 23:10:01.890", "lastUpdateuser": "mesadmin",
lastUpdate: "2022-01-16 22:24:32.273", "processType": 8,
lastUpdateuser: "mesadmin", "processTypedesc": "双玻组件",
serialCodeRule: "DM405M10-54HSW", "processTypeValue": "双玻组件",
palletCodeRule: "DM405M10-54HSW-bz", "featureCode": 9,
attrs: [{ "featureCodeDesc": "P",
id: "7add1e54-d99e-4432-8175-c5afd80ae058", "featureCodeValue": "P",
attributeId: "Product_GLASS_TYPE", "serialCodeRule": "编码N型",
attributeDesc: "玻璃类型", "palletCodeRule": "保密包装",
productCode: "088+089ART-MW", "attrs": [
description: "双玻", {
code: "双玻", "id": "c35d36c0-773b-4e6e-9d77-1f05988694a5",
createTime: "2023-06-07 14:59:06.800", "attributeId": "Product_1231333",
createUser: "" "attributeDesc": "颜色1",
}, "productCode": "test001",
{ "description": "111",
id: "c671f463-5f66-4b99-9083-44fe9293a83e", "code": "111",
attributeId: "Product_PACK_QTY", "createTime": "2023/6/7 14:59:06",
attributeDesc: "包装数量", "createTimeLucid": "2023-06-07 14:59:06.777",
productCode: "088+089ART-MW", "createUser": null
description: "31", },
code: "31", {
createTime: "2023-06-07 14:59:06.800", "id": "0c682acf-a9a8-4a71-8d05-b3a264ae6137",
createUser: "" "attributeId": "Product_BACK_TYPE",
} "attributeDesc": "背板类型",
], "productCode": "test001",
}] "description": "背板",
"code": "背板",
} "createTime": "2023/6/7 14:59:06",
"createTimeLucid": "2023-06-07 14:59:06.787",
"createUser": null
},
{
"id": "714d564f-5380-403d-aba2-5916f0022693",
"attributeId": "Product_CELL_SIZE",
"attributeDesc": "产品电池片尺寸",
"productCode": "test001",
"description": "123",
"code": "123",
"createTime": "2023/6/7 14:59:06",
"createTimeLucid": "2023-06-07 14:59:06.783",
"createUser": null
},
{
"id": "75847d78-000f-4dda-ad5a-37164ff99a82",
"attributeId": "Product_FRAME_TYPE",
"attributeDesc": "边框类型",
"productCode": "test001",
"description": "无框组件",
"code": "W",
"createTime": "2023/6/7 14:59:06",
"createTimeLucid": "2023-06-07 14:59:06.787",
"createUser": null
},
{
"id": "7add1e54-d99e-4432-8175-c5afd80ae058",
"attributeId": "Product_GLASS_TYPE",
"attributeDesc": "玻璃类型",
"productCode": "test001",
"description": "双玻",
"code": "双玻",
"createTime": "2023/6/7 14:59:06",
"createTimeLucid": "2023-06-07 14:59:06.800",
"createUser": null
},
{
"id": "92ebfd31-8e24-4367-a6e1-4335ce69cf32",
"attributeId": "Product_MOD_TYPE",
"attributeDesc": "产品组件类型",
"productCode": "test001",
"description": "123",
"code": "123",
"createTime": "2023/6/7 14:59:06",
"createTimeLucid": "2023-06-07 14:59:06.800",
"createUser": null
}
]
}
]
}
} }
``` ```

4
mes/产品/删除产品.md

@ -27,8 +27,8 @@ URL: http://localhost:8033/open/DeleteProduct
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试厂区",
productCode: "088+089ART-MW", "productCode": "088+089ART-MW",
} }
} }
``` ```

160
mes/产品/查询产品详情.md

@ -88,61 +88,111 @@ attrs字段
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 10:40:59.173",
"status": "ok", "status": "ok",
"data": { "data": {
info: { "info": {
productCode: "088+089ART-MW", "productCode": "test001",
familyCode: "ART550-144MHA", "familyCode": "label_code",
processGroupId: 0, "processGroupId": 0,
crysTypeId: 38, "crysTypeId": 38,
crysTypeDesc: "单晶", "crysTypeDesc": "单晶",
crysTypeValue: "M", "crysTypeValue": "M",
busbarTypeId: 37, "busbarTypeId": 132,
busbarTypeDesc: "11BB", "busbarTypeDesc": "grid_describe",
busbarTypeValue: "11BB", "busbarTypeValue": "grid_code",
cellQty: 144, "cellQty": 122,
cellQtyDesc: "144", "cellQtyDesc": "122",
cellQtyValue: "144", "cellQtyValue": "122",
modSpecId: 49, "cellColorId": 0,
modSpecDesc: "2279*1134*35", "cellColorDesc": "N/A",
modSpecValue: "2279*1134*35", "cellColorValue": "N/A",
processType: 39, "modSpecId": 69,
processTypedesc: "单玻组件", "modSpecDesc": "1722*1134*30",
processTypeValue: "单玻组件", "modSpecValue": "1722*1134*30",
featureCode: 9, "modWeight": "N/A",
featureCodeDesc: "P", "fgCode": "N/A",
featureCodeValue: "P", "createDate": "2023-06-07 09:52:49.030",
modWeight: "", "lastUpdate": "2023-06-07 10:12:54.623",
fgCode: "", "lastUpdateuser": "mesadmin",
createDate: "2022-01-10 23:10:01.890", "processType": 8,
lastUpdate: "2022-01-16 22:24:32.273", "processTypedesc": "双玻组件",
lastUpdateuser: "mesadmin", "processTypeValue": "双玻组件",
serialCodeRule: "DM405M10-54HSW", "featureCode": 9,
palletCodeRule: "DM405M10-54HSW-bz", "featureCodeDesc": "P",
attrs: [{ "featureCodeValue": "P",
id: "7add1e54-d99e-4432-8175-c5afd80ae058", "serialCodeRule": "编码N型",
attributeId: "Product_GLASS_TYPE", "palletCodeRule": "保密包装",
attributeDesc: "玻璃类型", "attrs": [
productCode: "088+089ART-MW", {
description: "双玻", "id": "c35d36c0-773b-4e6e-9d77-1f05988694a5",
code: "双玻", "attributeId": "Product_1231333",
createTime: "2023-06-07 14:59:06.800", "attributeDesc": "颜色1",
createUser: "" "productCode": "test001",
}, "description": "111",
{ "code": "111",
id: "c671f463-5f66-4b99-9083-44fe9293a83e", "createTime": "2023/6/7 14:59:06",
attributeId: "Product_PACK_QTY", "createTimeLucid": "2023-06-07 14:59:06.777",
attributeDesc: "包装数量", "createUser": null
productCode: "088+089ART-MW", },
description: "31", {
code: "31", "id": "0c682acf-a9a8-4a71-8d05-b3a264ae6137",
createTime: "2023-06-07 14:59:06.800", "attributeId": "Product_BACK_TYPE",
createUser: "" "attributeDesc": "背板类型",
} "productCode": "test001",
], "description": "背板",
} "code": "背板",
} "createTime": "2023/6/7 14:59:06",
"createTimeLucid": "2023-06-07 14:59:06.787",
"createUser": null
},
{
"id": "714d564f-5380-403d-aba2-5916f0022693",
"attributeId": "Product_CELL_SIZE",
"attributeDesc": "产品电池片尺寸",
"productCode": "test001",
"description": "123",
"code": "123",
"createTime": "2023/6/7 14:59:06",
"createTimeLucid": "2023-06-07 14:59:06.783",
"createUser": null
},
{
"id": "75847d78-000f-4dda-ad5a-37164ff99a82",
"attributeId": "Product_FRAME_TYPE",
"attributeDesc": "边框类型",
"productCode": "test001",
"description": "无框组件",
"code": "W",
"createTime": "2023/6/7 14:59:06",
"createTimeLucid": "2023-06-07 14:59:06.787",
"createUser": null
},
{
"id": "7add1e54-d99e-4432-8175-c5afd80ae058",
"attributeId": "Product_GLASS_TYPE",
"attributeDesc": "玻璃类型",
"productCode": "test001",
"description": "双玻",
"code": "双玻",
"createTime": "2023/6/7 14:59:06",
"createTimeLucid": "2023-06-07 14:59:06.800",
"createUser": null
},
{
"id": "92ebfd31-8e24-4367-a6e1-4335ce69cf32",
"attributeId": "Product_MOD_TYPE",
"attributeDesc": "产品组件类型",
"productCode": "test001",
"description": "123",
"code": "123",
"createTime": "2023/6/7 14:59:06",
"createTimeLucid": "2023-06-07 14:59:06.800",
"createUser": null
}
]
}
}
} }
``` ```

155
mes/产品/添加产品.md

@ -37,18 +37,18 @@ URL: http://localhost:8033/open/AddProduct
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
productCode: "088+089ART-MW", "productCode": "088+089ART-MW-2",
familyCode: "ART550-144MHA", "familyCode": "ART550-144MHA",
processGroupId: 34, "processGroupId": 34,
crysTypeId: 12, "crysTypeId": 12,
busbarTypeId: 31, "busbarTypeId": 31,
cellQty: 64, "cellQty": 64,
modSpecId: 345, "modSpecId": 345,
processType: 22, "processType": 22,
featureCode: 34, "featureCode": 34,
modWeight: "", "modWeight": "",
fgCode: "", "fgCode": ""
} }
} }
``` ```
@ -62,9 +62,134 @@ URL: http://localhost:8033/open/AddProduct
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 13:57:00.077",
"status": "ok", "status": "ok",
"data": {} "data": {
"info": {
"productCode": "088+089ART-MW-2",
"familyCode": "ART550-144MHA",
"processGroupId": 0,
"crysTypeId": 12,
"crysTypeDesc": "12BB",
"crysTypeValue": "12BB",
"busbarTypeId": 31,
"busbarTypeDesc": "78",
"busbarTypeValue": "78",
"cellQty": 0,
"cellQtyDesc": "D",
"cellQtyValue": "D",
"cellColorId": 0,
"cellColorDesc": null,
"cellColorValue": null,
"modSpecId": 13,
"modSpecDesc": "2465*1134*35",
"modSpecValue": "2465*1134*35",
"modWeight": "",
"fgCode": "",
"createDate": "2023-07-05 13:56:59.927",
"lastUpdate": "2023-07-05 13:56:59.927",
"lastUpdateuser": null,
"processType": 22,
"processTypedesc": "A",
"processTypeValue": "A",
"featureCode": 34,
"featureCodeDesc": "OK",
"featureCodeValue": "OK",
"serialCodeRule": null,
"palletCodeRule": null,
"attrs": [
{
"id": null,
"attributeId": null,
"attributeDesc": "颜色1",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "背板类型",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "产品电池片尺寸",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "边框类型",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "玻璃类型",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "产品组件类型",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "包装数量",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
},
{
"id": null,
"attributeId": null,
"attributeDesc": "仓库属性",
"productCode": null,
"description": null,
"code": null,
"createTime": "0001/1/1 0:00:00",
"createTimeLucid": "0001-01-01 00:00:00.000",
"createUser": null
}
]
}
}
} }
``` ```

18
mes/供应商/修改供应商.md

@ -27,10 +27,9 @@ URL: http://localhost:8033/open/UpdateSupplier
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
supplierCode: "1002210180009192", "supplierCode": "1045543weee",
descriptions: "无锡市江松科技有限公司", "descriptions": "新的公司2"
flag: 1,
} }
} }
``` ```
@ -44,9 +43,14 @@ URL: http://localhost:8033/open/UpdateSupplier
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 13:52:01.290",
"status": "ok", "status": "ok",
"data": {} "data": {
"info": {
"supplierCode": "1045543weee",
"descriptions": "新的公司22"
}
}
} }
``` ```

39
mes/供应商/列出供应商.md

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/ListSupplier
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
search: "互利", "search": "互利",
} }
} }
``` ```
@ -47,19 +47,28 @@ URL: http://localhost:8033/open/ListSupplier
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 13:43:46.740",
"status": "ok", "status": "ok",
"data": { "data": {
list: [{ "list": [
supplierCode: "1002210180009192", {
descriptions: "无锡联晟光伏科技有限公司", "supplierCode": "1002210180004606",
}, "descriptions": "国网江苏省电力有限公司宿迁供电分公司"
{ },
supplierCode: "1002210180009206", {
descriptions: "无锡梦鼎光电科技有限公司", "supplierCode": "1002210180004613",
} "descriptions": "国网江苏省电力有限公司徐州供电分公司"
] },
} {
"supplierCode": "1002210180004620",
"descriptions": "国网江苏综合能源服务有限公司"
},
{
"supplierCode": "1002210180012203",
"descriptions": "国网江苏省电力有限公司徐州市铜山区供电分公司"
}
]
}
} }
``` ```

4
mes/供应商/删除供应商.md

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/DeleteSupplier
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
supplierCode: "1002210180009192", "supplierCode": "1002210180004606"
} }
} }
``` ```

20
mes/供应商/查询供应商详情.md

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/GetSupplier
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
supplierCode: "1002210180009192", "supplierCode": "1002210180009192"
} }
} }
``` ```
@ -47,14 +47,14 @@ URL: http://localhost:8033/open/GetSupplier
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 13:39:40.615",
"status": "ok", "status": "ok",
"data": { "data": {
info: { "info": {
supplierCode: "1002210180009192", "supplierCode": "1002210180009192",
descriptions: "无锡联晟光伏科技有限公司" "descriptions": "无锡联晟光伏科技有限公司"
} }
} }
} }
``` ```

17
mes/供应商/添加供应商.md

@ -27,9 +27,9 @@ URL: http://localhost:8033/open/AddSupplier
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
supplierCode: "1002210180009192", "supplierCode": "1045543weee",
descriptions: "", "descriptions": "新的公司"
} }
} }
``` ```
@ -43,9 +43,14 @@ URL: http://localhost:8033/open/AddSupplier
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 13:49:18.396",
"status": "ok", "status": "ok",
"data": {} "data": {
"info": {
"supplierCode": "1045543weee",
"descriptions": "新的公司"
}
}
} }
``` ```

74
mes/物料/修改物料.md

@ -35,37 +35,33 @@ attrs字段
| attrName | string | 否 | 属性名称 | | attrName | string | 否 | 属性名称 |
| attrValue | string | 否 | 物料属性值 | | attrValue | string | 否 | 物料属性值 |
| attrValueCode | string | 否 | 物料属性值代码 | | attrValueCode | string | 否 | 物料属性值代码 |
| flag | int | 否 | 数据状态:0禁用 1启用,默认1 |
示例 1:修改电池片及物料属性值 示例 1:修改电池片及物料属性值
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
materialCode: "CELL001", "materialCode": "CELL002",
materialTypeCode: "CELL", "materialTypeCode": "CELL",
descriptions: "电池片描述", "descriptions": "电池片描述",
flag: 1, "attrs": [{
attrs: [{ "materialCode": "CELL002",
materialCode: "CELL001", "materialTypeCode": "CELL",
materialTypeCode: "CELL", "attrCode": "crys_type",
attrCode: "crys_type", "attrName": "晶体结构",
attrName: "晶体结构", "attrValue": "单晶",
attrValue: "单晶", "attrValueCode": "单晶"
attrValueCode: "单晶",
flag: 1
}, },
{ {
materialCode: "CELL001", "materialCode": "CELL002",
materialTypeCode: "CELL", "materialTypeCode": "CELL",
attrCode: "cell_uop", "attrCode": "cell_uop",
attrName: "单片功率", "attrName": "单片功率",
attrValue: "7.82", "attrValue": "7.88",
attrValueCode: "7.82", "attrValueCode": "7.88"
flag: 1
} }
], ]
} }
} }
``` ```
@ -80,9 +76,37 @@ attrs字段
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 14:37:28.022",
"status": "ok", "status": "ok",
"data": {} "data": {
"info": {
"materialCode": "CELL002",
"materialTypeCode": "CELL",
"materialTypeDesc": "电池片",
"descriptions": "电池片描述",
"createTime": "2023-07-05 14:29:40.007",
"attrs": [
{
"materialCode": "CELL002",
"materialTypeCode": "CELL",
"materialTypeDesc": "电池片",
"attrCode": "cell_uop",
"attrName": "单片功率",
"attrValue": "7.88",
"attrValueCode": "7.88"
},
{
"materialCode": "CELL002",
"materialTypeCode": "CELL",
"materialTypeDesc": "电池片",
"attrCode": "crys_type",
"attrName": "晶体结构",
"attrValue": "单晶",
"attrValueCode": "单晶"
}
]
}
}
} }
``` ```

111
mes/物料/列出物料.md

@ -27,21 +27,9 @@ URL: http://localhost:8033/open/ListMaterial
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
search: "玻璃", "search": "001",
type: "" "type": "CELL"
}
}
```
示例 2:根据物料类别查询玻璃主材
```
{
"data": {
profile: "测试厂区",
search: "",
type: "GLASS"
} }
} }
``` ```
@ -79,39 +67,66 @@ attrs字段
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 14:12:33.463",
"status": "ok", "status": "ok",
"data": { "data": {
list: [{ "list": [
materialCode: "CELL001", {
materialTypeCode: "CELL", "materialCode": "20230704001",
materialTypeDesc: "电池片", "materialTypeCode": "CELL",
descriptions: "电池片描述", "materialTypeDesc": "电池片",
flag: 1, "descriptions": "测试电池片",
createTime: "2023-04-09 18:10:01", "createTime": "2023-07-04 13:38:41.100",
attrs: [{ "attrs": [
materialCode: "CELL001", {
materialTypeCode: "CELL", "materialCode": "20230704001",
materialTypeDesc: "电池片", "materialTypeCode": "CELL",
attrCode: "crys_type", "materialTypeDesc": "电池片",
attrName: "晶体结构", "attrCode": "cell_uop",
attrValue: "单晶", "attrName": "单片功率",
attrValueCode: "单晶", "attrValue": "7.24",
flag: 1 "attrValueCode": ""
}, }
{ ]
materialCode: "CELL001", },
materialTypeCode: "CELL", {
materialTypeDesc: "电池片", "materialCode": "dianchi0001",
attrCode: "cell_uop", "materialTypeCode": "CELL",
attrName: "单片功率", "materialTypeDesc": "电池片",
attrValue: "7.82", "descriptions": "电池01",
attrValueCode: "7.82", "createTime": "2023-06-08 16:00:50.750",
flag: 1 "attrs": [
} {
], "materialCode": "dianchi0001",
}] "materialTypeCode": "CELL",
} "materialTypeDesc": "电池片",
"attrCode": "cell_eff",
"attrName": "电池效率",
"attrValue": "24",
"attrValueCode": ""
},
{
"materialCode": "dianchi0001",
"materialTypeCode": "CELL",
"materialTypeDesc": "电池片",
"attrCode": "cell_uop",
"attrName": "单片功率",
"attrValue": "23",
"attrValueCode": ""
},
{
"materialCode": "dianchi0001",
"materialTypeCode": "CELL",
"materialTypeDesc": "电池片",
"attrCode": "d",
"attrName": "d",
"attrValue": "123",
"attrValueCode": "123"
}
]
}
]
}
} }
``` ```

76
mes/物料/列出物料类别.md

@ -21,13 +21,12 @@ URL: http://localhost:8033/open/ListMaterialType
| profile | string | 是 | 厂区代码 | | profile | string | 是 | 厂区代码 |
| search | string | 否 | 物料类型模糊查询 | | search | string | 否 | 物料类型模糊查询 |
示例 1:模糊查询电池物料类别 示例 1:查询物料类别
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
search: "电池",
} }
} }
``` ```
@ -43,7 +42,6 @@ URL: http://localhost:8033/open/ListMaterialType
| materialTypeCode | string | 物料类别代码 | | materialTypeCode | string | 物料类别代码 |
| materialTypeDesc | string | 物料类别名称 | | materialTypeDesc | string | 物料类别名称 |
| unit | string | 单位 | | unit | string | 单位 |
| flag | int | 数据状态:0禁用 1启用 |
| ManagerType | string | 创建时间 | | ManagerType | string | 创建时间 |
| Sort | int | 序号 | | Sort | int | 序号 |
| ErpCode | string | | | ErpCode | string | |
@ -53,29 +51,53 @@ URL: http://localhost:8033/open/ListMaterialType
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 14:14:46.536",
"status": "ok", "status": "ok",
"data": { "data": {
list: [{ "list": [
materialTypeCode: "CELL",
materialTypeDesc: "电池片", {
unit: "pcs", "materialTypeCode": "Battery",
flag: 1, "materialTypeDesc": "电池材料",
ManagerType: "Photovoltaic", "unit": "",
Sort: 1, "managerType": "",
ErpCode: "", "sort": 0,
}, "erpCode": " "
{ },
materialTypeCode: "EVA", {
materialTypeDesc: "EVA", "materialTypeCode": "BKSHEET",
unit: "m2", "materialTypeDesc": "背板",
flag: 1, "unit": "m2",
ManagerType: "Photovoltaic", "managerType": "Photovoltaic",
Sort: 2, "sort": 5,
ErpCode: "", "erpCode": "#F06#,#F06# "
} },
] {
} "materialTypeCode": "BOMID",
"materialTypeDesc": "BOMID",
"unit": "",
"managerType": "Photovoltaic",
"sort": 0,
"erpCode": " "
},
{
"materialTypeCode": "CELL",
"materialTypeDesc": "电池片",
"unit": "pcs",
"managerType": "Photovoltaic",
"sort": 1,
"erpCode": "#D#,#D# "
},
{
"materialTypeCode": "EVA",
"materialTypeDesc": "EVA",
"unit": "m2",
"managerType": "Photovoltaic",
"sort": 2,
"erpCode": "#H0603#,#H0603# "
}
]
}
} }
``` ```

4
mes/物料/删除物料.md

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/DeleteMaterial
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
materialCode: "CELL001", "materialCode": "Z测试1"
} }
} }
``` ```

111
mes/物料/查询物料详情.md

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/GetMaterial
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
materialCode: "CELL001", "materialCode": "M.1.1.N.107"
} }
} }
``` ```
@ -65,39 +65,80 @@ attrs字段
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 14:04:45.089",
"status": "ok", "status": "ok",
"data": { "data": {
info: { "info": {
materialCode: "CELL001", "materialCode": "M.1.1.N.107",
materialTypeCode: "CELL", "materialTypeCode": "CELL",
materialTypeDesc: "电池片", "materialTypeDesc": "电池片",
descriptions: "电池片描述", "descriptions": "电池片",
flag: 1, "flag": 1,
createTime: "2023-04-09 18:10:01", "createTime": "2023-04-08 23:43:38.023",
attrs: [{ "attrs": [
materialCode: "CELL001", {
materialTypeCode: "CELL", "materialCode": "M.1.1.N.107",
materialTypeDesc: "电池片", "materialTypeCode": "CELL",
attrCode: "crys_type", "materialTypeDesc": "电池片",
attrName: "晶体结构", "attrCode": "cell_uop",
attrValue: "单晶", "attrName": "单片功率",
attrValueCode: "单晶", "attrValue": "7.82",
flag: 1 "attrValueCode": "",
}, "flag": 1
{ },
materialCode: "CELL001", {
materialTypeCode: "CELL", "materialCode": "M.1.1.N.107",
materialTypeDesc: "电池片", "materialTypeCode": "CELL",
attrCode: "cell_uop", "materialTypeDesc": "电池片",
attrName: "单片功率", "attrCode": "cell_color",
attrValue: "7.82", "attrName": "电池颜色",
attrValueCode: "7.82", "attrValue": "淡蓝",
flag: 1 "attrValueCode": "",
} "flag": 1
], },
} {
} "materialCode": "M.1.1.N.107",
"materialTypeCode": "CELL",
"materialTypeDesc": "电池片",
"attrCode": "cell_grade",
"attrName": "电池等级",
"attrValue": "A",
"attrValueCode": "",
"flag": 1
},
{
"materialCode": "M.1.1.N.107",
"materialTypeCode": "CELL",
"materialTypeDesc": "电池片",
"attrCode": "cell_size",
"attrName": "电池规格",
"attrValue": "M10",
"attrValueCode": "",
"flag": 1
},
{
"materialCode": "M.1.1.N.107",
"materialTypeCode": "CELL",
"materialTypeDesc": "电池片",
"attrCode": "cell_eff",
"attrName": "电池效率",
"attrValue": "22.9%",
"attrValueCode": "",
"flag": 1
},
{
"materialCode": "M.1.1.N.107",
"materialTypeCode": "CELL",
"materialTypeDesc": "电池片",
"attrCode": "cell_type",
"attrName": "电池类型",
"attrValue": "N",
"attrValueCode": "",
"flag": 1
}
]
}
}
} }
``` ```

75
mes/物料/添加物料.md

@ -23,7 +23,6 @@ URL: http://localhost:8033/open/AddMaterial
| materialTypeCode | string | 是 | 物料类别代码 | | materialTypeCode | string | 是 | 物料类别代码 |
| descriptions | string | 否 | 物料描述 | | descriptions | string | 否 | 物料描述 |
| attrs | Array | 否 | 物料属性 | | attrs | Array | 否 | 物料属性 |
| flag | int | 否 | 数据状态:0禁用 1启用,默认1|
attrs字段 attrs字段
@ -35,37 +34,33 @@ attrs字段
| attrName | string | 否 | 属性名称 | | attrName | string | 否 | 属性名称 |
| attrValue | string | 否 | 物料属性值 | | attrValue | string | 否 | 物料属性值 |
| attrValueCode | string | 否 | 物料属性值代码 | | attrValueCode | string | 否 | 物料属性值代码 |
| flag | int | 否 | 数据状态:0禁用 1启用,默认1 |
示例 1:添加电池片及物料属性值 示例 1:添加电池片及物料属性值
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
materialCode: "CELL001", "materialCode": "CELL002",
materialTypeCode: "CELL", "materialTypeCode": "CELL",
descriptions: "电池片描述", "descriptions": "电池片描述",
flag: 1, "attrs": [{
attrs: [{ "materialCode": "CELL002",
materialCode: "CELL001", "materialTypeCode": "CELL",
materialTypeCode: "CELL", "attrCode": "crys_type",
attrCode: "crys_type", "attrName": "晶体结构",
attrName: "晶体结构", "attrValue": "单晶",
attrValue: "单晶", "attrValueCode": "单晶"
attrValueCode: "单晶",
flag: 1
}, },
{ {
materialCode: "CELL001", "materialCode": "CELL002",
materialTypeCode: "CELL", "materialTypeCode": "CELL",
attrCode: "cell_uop", "attrCode": "cell_uop",
attrName: "单片功率", "attrName": "单片功率",
attrValue: "7.82", "attrValue": "7.82",
attrValueCode: "7.82", "attrValueCode": "7.82"
flag: 1
} }
], ]
} }
} }
``` ```
@ -79,9 +74,37 @@ attrs字段
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 14:29:40.122",
"status": "ok", "status": "ok",
"data": {} "data": {
"info": {
"materialCode": "CELL002",
"materialTypeCode": "CELL",
"materialTypeDesc": "电池片",
"descriptions": "电池片描述",
"createTime": "2023-07-05 14:29:40.008",
"attrs": [
{
"materialCode": "CELL002",
"materialTypeCode": "CELL",
"materialTypeDesc": "电池片",
"attrCode": "cell_uop",
"attrName": "单片功率",
"attrValue": "7.82",
"attrValueCode": "7.82"
},
{
"materialCode": "CELL002",
"materialTypeCode": "CELL",
"materialTypeDesc": "电池片",
"attrCode": "crys_type",
"attrName": "晶体结构",
"attrValue": "单晶",
"attrValueCode": "单晶"
}
]
}
}
} }
``` ```

52
mes/选项/列出产品标签形式.md

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/ListDfFamilys
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
search: "11BB", "search": "11BB"
} }
} }
``` ```
@ -44,7 +44,6 @@ URL: http://localhost:8033/open/ListDfFamilys
| familyCode | string | 标签形式编码 | | familyCode | string | 标签形式编码 |
| descriptions | string | 标签形式描述 | | descriptions | string | 标签形式描述 |
| aliasName | string | 创建者 | | aliasName | string | 创建者 |
| flag | int | 数据状态:0禁用 1启用 |
| createTime | string | 创建时间 | | createTime | string | 创建时间 |
@ -52,17 +51,42 @@ URL: http://localhost:8033/open/ListDfFamilys
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 10:32:51.014",
"status": "ok", "status": "ok",
"data": { "data": {
list: [{ "list": [
familyCode: "AG-HD108N-415", {
descriptions: "AG-HD108N-415", "familyCode": "JW-HD144-11BB",
aliasName: "mesadmin", "descriptions": "JW-HD144-11BB",
flag: 1, "aliasName": "zcpl",
createTime: "2022-01-10 23:10:01.890" "createTime": "2021-11-03 10:42:38.283"
}] },
} {
"familyCode": "JW-HD144N-11BB",
"descriptions": "JW-HD144N-11BB",
"aliasName": "xk",
"createTime": "2022-01-15 20:29:47.693"
},
{
"familyCode": "JW-HD144P-11BB",
"descriptions": "JW-HD144P-11BB",
"aliasName": "zcpl",
"createTime": "2021-11-03 11:42:33.083"
},
{
"familyCode": "ZR-144N-11BB",
"descriptions": "ZR-144N-11BB",
"aliasName": "xk",
"createTime": "2022-01-16 19:50:01.930"
},
{
"familyCode": "ZR-144P-11BB",
"descriptions": "ZR-144P-11BB",
"aliasName": "ZCPL",
"createTime": "2022-04-29 12:35:09.577"
}
]
}
} }
``` ```

29
mes/选项/列出产品特征.md

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/ListFeatureCode
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
search: "P", "search": "P"
} }
} }
``` ```
@ -42,6 +42,8 @@ URL: http://localhost:8033/open/ListFeatureCode
| 字段 | 类型 | 说明 | | 字段 | 类型 | 说明 |
| :-- | :-- | :-- | | :-- | :-- | :-- |
| SourceId | string | id | | SourceId | string | id |
| sourceGroupName | string | 选项分组值 |
| sourceGroupDesc | string | 选项分组描述 |
| SourceValue | string | 选项值 | | SourceValue | string | 选项值 |
| SourceDesc | string | 选项描述 | | SourceDesc | string | 选项描述 |
@ -50,15 +52,20 @@ URL: http://localhost:8033/open/ListFeatureCode
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 14:53:20.166",
"status": "ok", "status": "ok",
"data": { "data": {
list: [{ "list": [
SourceId: 1, {
SourceValue: "P", "sourceId": 9,
SourceDesc: "P" "sourceGroupName": "FEATURE_CODE",
}] "sourceGroupDesc": "产品特征",
} "sourceDesc": "P",
"sourceValue": "P",
"sndGroup": ""
}
]
}
} }
``` ```

28
mes/选项/列出工艺类型.md

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/ListProcessType
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试厂区",
search: "双玻", "search": "双玻"
} }
} }
``` ```
@ -42,6 +42,8 @@ URL: http://localhost:8033/open/ListProcessType
| 字段 | 类型 | 说明 | | 字段 | 类型 | 说明 |
| :-- | :-- | :-- | | :-- | :-- | :-- |
| SourceId | string | id | | SourceId | string | id |
| sourceGroupName | string | 选项分组值 |
| sourceGroupDesc | string | 选项分组描述 |
| SourceValue | string | 选项值 | | SourceValue | string | 选项值 |
| SourceDesc | string | 选项描述 | | SourceDesc | string | 选项描述 |
@ -50,15 +52,19 @@ URL: http://localhost:8033/open/ListProcessType
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 15:02:07.720",
"status": "ok", "status": "ok",
"data": { "data": {
list: [{ "list": [
SourceId: 1, {
SourceValue: "双玻组件", "sourceId": 8,
SourceDesc: "双玻组件" "sourceGroupName": "PROCESS_TYPE",
}] "sourceGroupDesc": "工艺类型",
} "sourceDesc": "双玻组件",
"sourceValue": "双玻组件"
}
]
}
} }
``` ```

28
mes/选项/列出晶体类型.md

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/ListCrysType
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
search: "单晶", "search": "单晶"
} }
} }
``` ```
@ -42,6 +42,8 @@ URL: http://localhost:8033/open/ListCrysType
| 字段 | 类型 | 说明 | | 字段 | 类型 | 说明 |
| :-- | :-- | :-- | | :-- | :-- | :-- |
| SourceId | string | id | | SourceId | string | id |
| sourceGroupName | string | 选项分组值 |
| sourceGroupDesc | string | 选项分组描述 |
| SourceValue | string | 选项值 | | SourceValue | string | 选项值 |
| SourceDesc | string | 选项描述 | | SourceDesc | string | 选项描述 |
@ -50,15 +52,19 @@ URL: http://localhost:8033/open/ListCrysType
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 15:02:33.311",
"status": "ok", "status": "ok",
"data": { "data": {
list: [{ "list": [
SourceId: 1, {
SourceValue: "M", "sourceId": 38,
SourceDesc: "单晶" "sourceGroupName": "CRYS_TYPE",
}] "sourceGroupDesc": "晶体类型",
} "sourceDesc": "单晶",
"sourceValue": "M"
}
]
}
} }
``` ```

28
mes/选项/列出栅线类型.md

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/ListBusBar
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
search: "11BB", "search": "11BB"
} }
} }
``` ```
@ -42,6 +42,8 @@ URL: http://localhost:8033/open/ListBusBar
| 字段 | 类型 | 说明 | | 字段 | 类型 | 说明 |
| :-- | :-- | :-- | | :-- | :-- | :-- |
| SourceId | string | id | | SourceId | string | id |
| sourceGroupName | string | 选项分组值 |
| sourceGroupDesc | string | 选项分组描述 |
| SourceValue | string | 选项值 | | SourceValue | string | 选项值 |
| SourceDesc | string | 选项描述 | | SourceDesc | string | 选项描述 |
@ -50,15 +52,19 @@ URL: http://localhost:8033/open/ListBusBar
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 15:03:10.748",
"status": "ok", "status": "ok",
"data": { "data": {
list: [{ "list": [
SourceId: 1, {
SourceValue: "11BB", "sourceId": 37,
SourceDesc: "11BB" "sourceGroupName": "BUSBAR",
}] "sourceGroupDesc": "栅线类型",
} "sourceDesc": "11BB",
"sourceValue": "11BB"
}
]
}
} }
``` ```

28
mes/选项/列出电池片数量.md

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/ListCellQty
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
search: "108", "search": "108"
} }
} }
``` ```
@ -42,6 +42,8 @@ URL: http://localhost:8033/open/ListCellQty
| 字段 | 类型 | 说明 | | 字段 | 类型 | 说明 |
| :-- | :-- | :-- | | :-- | :-- | :-- |
| SourceId | string | id | | SourceId | string | id |
| sourceGroupName | string | 选项分组值 |
| sourceGroupDesc | string | 选项分组描述 |
| SourceValue | string | 选项值 | | SourceValue | string | 选项值 |
| SourceDesc | string | 选项描述 | | SourceDesc | string | 选项描述 |
@ -50,15 +52,19 @@ URL: http://localhost:8033/open/ListCellQty
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 14:58:36.623",
"status": "ok", "status": "ok",
"data": { "data": {
list: [{ "list": [
SourceId: 1, {
SourceValue: "108", "sourceId": 53,
SourceDesc: "108" "sourceGroupName": "CELL_QTY",
}] "sourceGroupDesc": "电池片数量",
} "sourceDesc": "108",
"sourceValue": "108",
}
]
}
} }
``` ```

29
mes/选项/列出组件规格.md

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/ListModSize
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
search: "1728", "search": "1728"
} }
} }
``` ```
@ -42,23 +42,28 @@ URL: http://localhost:8033/open/ListModSize
| 字段 | 类型 | 说明 | | 字段 | 类型 | 说明 |
| :-- | :-- | :-- | | :-- | :-- | :-- |
| SourceId | string | id | | SourceId | string | id |
| sourceGroupName | string | 选项分组值 |
| sourceGroupDesc | string | 选项分组描述 |
| SourceValue | string | 选项值 | | SourceValue | string | 选项值 |
| SourceDesc | string | 选项描述 | | SourceDesc | string | 选项描述 |
查询成功时,响应如下: 查询成功时,响应如下:
``` ```
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-07-05 15:03:37.622",
"status": "ok", "status": "ok",
"data": { "data": {
list: [{ "list": [
SourceId: 1, {
SourceValue: "1728*1134*30", "sourceId": 52,
SourceDesc: "1728*1134*30" "sourceGroupName": "MOD_SIZE",
}] "sourceGroupDesc": "组件规格",
} "sourceDesc": "1728*1134*30",
"sourceValue": "1728*1134*30"
}
]
}
} }
``` ```

Loading…
Cancel
Save