Browse Source

产品、供应商测试后调整

master
吕成旭 1 year ago
parent
commit
a8c88b03a8
  1. 24
      mes/产品/修改产品.md
  2. 153
      mes/产品/列出产品.md
  3. 4
      mes/产品/删除产品.md
  4. 146
      mes/产品/查询产品详情.md
  5. 24
      mes/产品/添加产品.md
  6. 16
      mes/供应商/修改供应商.md
  7. 25
      mes/供应商/列出供应商.md
  8. 4
      mes/供应商/删除供应商.md
  9. 12
      mes/供应商/查询供应商详情.md
  10. 15
      mes/供应商/添加供应商.md
  11. 44
      mes/选项/列出产品标签形式.md
  12. 12
      mes/选项/列出产品特征.md

24
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": "",
} }
} }
``` ```

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

@ -27,7 +27,7 @@ URL: http://localhost:8033/open/ListProduct
{ {
"data": { "data": {
profile: "测试厂区", profile: "测试厂区",
search: "组件001", search: "test001",
} }
} }
``` ```
@ -88,61 +88,112 @@ 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",
"code": "111",
"createTime": "2023/6/7 14:59:06",
"createTimeLucid": "2023-06-07 14:59:06.777",
"createUser": null
},
{
"id": "0c682acf-a9a8-4a71-8d05-b3a264ae6137",
"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: "c671f463-5f66-4b99-9083-44fe9293a83e", "id": "75847d78-000f-4dda-ad5a-37164ff99a82",
attributeId: "Product_PACK_QTY", "attributeId": "Product_FRAME_TYPE",
attributeDesc: "包装数量", "attributeDesc": "边框类型",
productCode: "088+089ART-MW", "productCode": "test001",
description: "31", "description": "无框组件",
code: "31", "code": "W",
createTime: "2023-06-07 14:59:06.800", "createTime": "2023/6/7 14:59:06",
createUser: "" "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",
} }
} }
``` ```

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

@ -88,59 +88,109 @@ 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",
"createTime": "2023/6/7 14:59:06",
"createTimeLucid": "2023-06-07 14:59:06.777",
"createUser": null
}, },
{ {
id: "c671f463-5f66-4b99-9083-44fe9293a83e", "id": "0c682acf-a9a8-4a71-8d05-b3a264ae6137",
attributeId: "Product_PACK_QTY", "attributeId": "Product_BACK_TYPE",
attributeDesc: "包装数量", "attributeDesc": "背板类型",
productCode: "088+089ART-MW", "productCode": "test001",
description: "31", "description": "背板",
code: "31", "code": "背板",
createTime: "2023-06-07 14:59:06.800", "createTime": "2023/6/7 14:59:06",
createUser: "" "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
} }
], ]
} }
} }
} }

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

@ -37,18 +37,18 @@ URL: http://localhost:8033/open/AddProduct
``` ```
{ {
"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": ""
} }
} }
``` ```

16
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"
}
}
} }
``` ```

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

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/ListSupplier
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
search: "互利", "search": "互利",
} }
} }
``` ```
@ -47,16 +47,25 @@ 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": "1002210180004613",
"descriptions": "国网江苏省电力有限公司徐州供电分公司"
},
{
"supplierCode": "1002210180004620",
"descriptions": "国网江苏综合能源服务有限公司"
}, },
{ {
supplierCode: "1002210180009206", "supplierCode": "1002210180012203",
descriptions: "无锡梦鼎光电科技有限公司", "descriptions": "国网江苏省电力有限公司徐州市铜山区供电分公司"
} }
] ]
} }

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

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

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

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/GetSupplier
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试",
supplierCode: "1002210180009192", "supplierCode": "1002210180009192"
} }
} }
``` ```
@ -47,12 +47,12 @@ 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": "无锡联晟光伏科技有限公司"
} }
} }
} }

15
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": "新的公司"
}
}
} }
``` ```

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

@ -26,7 +26,7 @@ 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,16 +51,41 @@ 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"
}
]
} }
} }
``` ```

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

@ -26,8 +26,8 @@ URL: http://localhost:8033/open/ListFeatureCode
``` ```
{ {
"data": { "data": {
profile: "测试厂区", "profile": "测试厂区",
search: "P", "search": "P",
} }
} }
``` ```
@ -53,10 +53,10 @@ URL: http://localhost:8033/open/ListFeatureCode
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": { "data": {
list: [{ "list": [{
SourceId: 1, "SourceId": 1,
SourceValue: "P", "SourceValue": "P",
SourceDesc: "P" "SourceDesc": "P"
}] }]
} }
} }

Loading…
Cancel
Save