From a8c88b03a813158821d597ec250ad87865849242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=95=E6=88=90=E6=97=AD?= <1043274364@qq.com> Date: Wed, 5 Jul 2023 13:52:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E3=80=81=E4=BE=9B=E5=BA=94?= =?UTF-8?q?=E5=95=86=E6=B5=8B=E8=AF=95=E5=90=8E=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mes/产品/修改产品.md | 24 ++-- mes/产品/列出产品.md | 165 ++++++++++++++++--------- mes/产品/删除产品.md | 4 +- mes/产品/查询产品详情.md | 160 +++++++++++++++--------- mes/产品/添加产品.md | 24 ++-- mes/供应商/修改供应商.md | 18 +-- mes/供应商/列出供应商.md | 39 +++--- mes/供应商/删除供应商.md | 4 +- mes/供应商/查询供应商详情.md | 20 +-- mes/供应商/添加供应商.md | 17 ++- mes/选项/列出产品标签形式.md | 50 ++++++-- mes/选项/列出产品特征.md | 12 +- 12 files changed, 340 insertions(+), 197 deletions(-) diff --git a/mes/产品/修改产品.md b/mes/产品/修改产品.md index d98619b..499d892 100644 --- a/mes/产品/修改产品.md +++ b/mes/产品/修改产品.md @@ -37,18 +37,18 @@ URL: http://localhost:8033/open/UpdateProduct ``` { "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: "", + "profile": "测试厂区", + "productCode": "088+089ART-MW", + "familyCode": "ART550-144MHA", + "processGroupId": 34, + "crysTypeId": 12, + "busbarTypeId": 31, + "cellQty": 64, + "modSpecId": 345, + "processType": 22, + "featureCode": 34, + "modWeight": "", + "fgCode": "", } } ``` diff --git a/mes/产品/列出产品.md b/mes/产品/列出产品.md index 0ffd70e..9a1893a 100644 --- a/mes/产品/列出产品.md +++ b/mes/产品/列出产品.md @@ -27,7 +27,7 @@ URL: http://localhost:8033/open/ListProduct { "data": { profile: "测试厂区", - search: "组件001", + search: "test001", } } ``` @@ -88,62 +88,113 @@ attrs字段 ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data": { - list: [{ - productCode: "088+089ART-MW", - familyCode: "ART550-144MHA", - processGroupId: 0, - crysTypeId: 38, - crysTypeDesc: "单晶", - crysTypeValue: "M", - busbarTypeId: 37, - busbarTypeDesc: "11BB", - busbarTypeValue: "11BB", - cellQty: 144, - cellQtyDesc: "144", - cellQtyValue: "144", - modSpecId: 49, - modSpecDesc: "2279*1134*35", - modSpecValue: "2279*1134*35", - processType: 39, - processTypedesc: "单玻组件", - processTypeValue: "单玻组件", - featureCode: 9, - featureCodeDesc: "P", - featureCodeValue: "P", - modWeight: "", - fgCode: "", - createDate: "2022-01-10 23:10:01.890", - lastUpdate: "2022-01-16 22:24:32.273", - lastUpdateuser: "mesadmin", - serialCodeRule: "DM405M10-54HSW", - palletCodeRule: "DM405M10-54HSW-bz", - attrs: [{ - id: "7add1e54-d99e-4432-8175-c5afd80ae058", - attributeId: "Product_GLASS_TYPE", - attributeDesc: "玻璃类型", - productCode: "088+089ART-MW", - description: "双玻", - code: "双玻", - createTime: "2023-06-07 14:59:06.800", - createUser: "" - }, - { - id: "c671f463-5f66-4b99-9083-44fe9293a83e", - attributeId: "Product_PACK_QTY", - attributeDesc: "包装数量", - productCode: "088+089ART-MW", - description: "31", - code: "31", - createTime: "2023-06-07 14:59:06.800", - createUser: "" - } - ], - }] - - } + "clock": "2023-07-05 10:43:08.773", + "status": "ok", + "data": { + "list": [ + { + "productCode": "test001", + "familyCode": "label_code", + "processGroupId": 0, + "crysTypeId": 38, + "crysTypeDesc": "单晶", + "crysTypeValue": "M", + "busbarTypeId": 132, + "busbarTypeDesc": "grid_describe", + "busbarTypeValue": "grid_code", + "cellQty": 122, + "cellQtyDesc": "122", + "cellQtyValue": "122", + "cellColorId": 0, + "cellColorDesc": "N/A", + "cellColorValue": "N/A", + "modSpecId": 69, + "modSpecDesc": "1722*1134*30", + "modSpecValue": "1722*1134*30", + "modWeight": "N/A", + "fgCode": "N/A", + "createDate": "2023-06-07 09:52:49.030", + "lastUpdate": "2023-06-07 10:12:54.623", + "lastUpdateuser": "mesadmin", + "processType": 8, + "processTypedesc": "双玻组件", + "processTypeValue": "双玻组件", + "featureCode": 9, + "featureCodeDesc": "P", + "featureCodeValue": "P", + "serialCodeRule": "编码N型", + "palletCodeRule": "保密包装", + "attrs": [ + { + "id": "c35d36c0-773b-4e6e-9d77-1f05988694a5", + "attributeId": "Product_1231333", + "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": "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 + } + ] + } + ] + } } ``` diff --git a/mes/产品/删除产品.md b/mes/产品/删除产品.md index e1082f5..504bbc1 100644 --- a/mes/产品/删除产品.md +++ b/mes/产品/删除产品.md @@ -27,8 +27,8 @@ URL: http://localhost:8033/open/DeleteProduct ``` { "data": { - profile: "测试厂区", - productCode: "088+089ART-MW", + "profile": "测试厂区", + "productCode": "088+089ART-MW", } } ``` diff --git a/mes/产品/查询产品详情.md b/mes/产品/查询产品详情.md index 50ab918..29730cc 100644 --- a/mes/产品/查询产品详情.md +++ b/mes/产品/查询产品详情.md @@ -88,61 +88,111 @@ attrs字段 ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data": { - info: { - productCode: "088+089ART-MW", - familyCode: "ART550-144MHA", - processGroupId: 0, - crysTypeId: 38, - crysTypeDesc: "单晶", - crysTypeValue: "M", - busbarTypeId: 37, - busbarTypeDesc: "11BB", - busbarTypeValue: "11BB", - cellQty: 144, - cellQtyDesc: "144", - cellQtyValue: "144", - modSpecId: 49, - modSpecDesc: "2279*1134*35", - modSpecValue: "2279*1134*35", - processType: 39, - processTypedesc: "单玻组件", - processTypeValue: "单玻组件", - featureCode: 9, - featureCodeDesc: "P", - featureCodeValue: "P", - modWeight: "", - fgCode: "", - createDate: "2022-01-10 23:10:01.890", - lastUpdate: "2022-01-16 22:24:32.273", - lastUpdateuser: "mesadmin", - serialCodeRule: "DM405M10-54HSW", - palletCodeRule: "DM405M10-54HSW-bz", - attrs: [{ - id: "7add1e54-d99e-4432-8175-c5afd80ae058", - attributeId: "Product_GLASS_TYPE", - attributeDesc: "玻璃类型", - productCode: "088+089ART-MW", - description: "双玻", - code: "双玻", - createTime: "2023-06-07 14:59:06.800", - createUser: "" - }, - { - id: "c671f463-5f66-4b99-9083-44fe9293a83e", - attributeId: "Product_PACK_QTY", - attributeDesc: "包装数量", - productCode: "088+089ART-MW", - description: "31", - code: "31", - createTime: "2023-06-07 14:59:06.800", - createUser: "" - } - ], - } - } + "clock": "2023-07-05 10:40:59.173", + "status": "ok", + "data": { + "info": { + "productCode": "test001", + "familyCode": "label_code", + "processGroupId": 0, + "crysTypeId": 38, + "crysTypeDesc": "单晶", + "crysTypeValue": "M", + "busbarTypeId": 132, + "busbarTypeDesc": "grid_describe", + "busbarTypeValue": "grid_code", + "cellQty": 122, + "cellQtyDesc": "122", + "cellQtyValue": "122", + "cellColorId": 0, + "cellColorDesc": "N/A", + "cellColorValue": "N/A", + "modSpecId": 69, + "modSpecDesc": "1722*1134*30", + "modSpecValue": "1722*1134*30", + "modWeight": "N/A", + "fgCode": "N/A", + "createDate": "2023-06-07 09:52:49.030", + "lastUpdate": "2023-06-07 10:12:54.623", + "lastUpdateuser": "mesadmin", + "processType": 8, + "processTypedesc": "双玻组件", + "processTypeValue": "双玻组件", + "featureCode": 9, + "featureCodeDesc": "P", + "featureCodeValue": "P", + "serialCodeRule": "编码N型", + "palletCodeRule": "保密包装", + "attrs": [ + { + "id": "c35d36c0-773b-4e6e-9d77-1f05988694a5", + "attributeId": "Product_1231333", + "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": "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 + } + ] + } + } } ``` diff --git a/mes/产品/添加产品.md b/mes/产品/添加产品.md index aad7300..02c1d38 100644 --- a/mes/产品/添加产品.md +++ b/mes/产品/添加产品.md @@ -37,18 +37,18 @@ URL: http://localhost:8033/open/AddProduct ``` { "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: "", + "profile": "测试", + "productCode": "088+089ART-MW", + "familyCode": "ART550-144MHA", + "processGroupId": 34, + "crysTypeId": 12, + "busbarTypeId": 31, + "cellQty": 64, + "modSpecId": 345, + "processType": 22, + "featureCode": 34, + "modWeight": "", + "fgCode": "" } } ``` diff --git a/mes/供应商/修改供应商.md b/mes/供应商/修改供应商.md index 873f052..37d9e31 100644 --- a/mes/供应商/修改供应商.md +++ b/mes/供应商/修改供应商.md @@ -27,10 +27,9 @@ URL: http://localhost:8033/open/UpdateSupplier ``` { "data": { - profile: "测试厂区", - supplierCode: "1002210180009192", - descriptions: "无锡市江松科技有限公司", - flag: 1, + "profile": "测试", + "supplierCode": "1045543weee", + "descriptions": "新的公司2" } } ``` @@ -44,9 +43,14 @@ URL: http://localhost:8033/open/UpdateSupplier ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data": {} + "clock": "2023-07-05 13:52:01.290", + "status": "ok", + "data": { + "info": { + "supplierCode": "1045543weee", + "descriptions": "新的公司22" + } + } } ``` diff --git a/mes/供应商/列出供应商.md b/mes/供应商/列出供应商.md index e51a4c5..8693e45 100644 --- a/mes/供应商/列出供应商.md +++ b/mes/供应商/列出供应商.md @@ -26,8 +26,8 @@ URL: http://localhost:8033/open/ListSupplier ``` { "data": { - profile: "测试厂区", - search: "互利", + "profile": "测试", + "search": "互利", } } ``` @@ -47,19 +47,28 @@ URL: http://localhost:8033/open/ListSupplier ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data": { - list: [{ - supplierCode: "1002210180009192", - descriptions: "无锡联晟光伏科技有限公司", - }, - { - supplierCode: "1002210180009206", - descriptions: "无锡梦鼎光电科技有限公司", - } - ] - } + "clock": "2023-07-05 13:43:46.740", + "status": "ok", + "data": { + "list": [ + { + "supplierCode": "1002210180004606", + "descriptions": "国网江苏省电力有限公司宿迁供电分公司" + }, + { + "supplierCode": "1002210180004613", + "descriptions": "国网江苏省电力有限公司徐州供电分公司" + }, + { + "supplierCode": "1002210180004620", + "descriptions": "国网江苏综合能源服务有限公司" + }, + { + "supplierCode": "1002210180012203", + "descriptions": "国网江苏省电力有限公司徐州市铜山区供电分公司" + } + ] + } } ``` diff --git a/mes/供应商/删除供应商.md b/mes/供应商/删除供应商.md index 2a0f893..6144457 100644 --- a/mes/供应商/删除供应商.md +++ b/mes/供应商/删除供应商.md @@ -26,8 +26,8 @@ URL: http://localhost:8033/open/DeleteSupplier ``` { "data": { - profile: "测试厂区", - supplierCode: "1002210180009192", + "profile": "测试", + "supplierCode": "1002210180004606" } } ``` diff --git a/mes/供应商/查询供应商详情.md b/mes/供应商/查询供应商详情.md index 171d657..09a2801 100644 --- a/mes/供应商/查询供应商详情.md +++ b/mes/供应商/查询供应商详情.md @@ -26,8 +26,8 @@ URL: http://localhost:8033/open/GetSupplier ``` { "data": { - profile: "测试厂区", - supplierCode: "1002210180009192", + "profile": "测试", + "supplierCode": "1002210180009192" } } ``` @@ -47,14 +47,14 @@ URL: http://localhost:8033/open/GetSupplier ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data": { - info: { - supplierCode: "1002210180009192", - descriptions: "无锡联晟光伏科技有限公司" - } - } + "clock": "2023-07-05 13:39:40.615", + "status": "ok", + "data": { + "info": { + "supplierCode": "1002210180009192", + "descriptions": "无锡联晟光伏科技有限公司" + } + } } ``` diff --git a/mes/供应商/添加供应商.md b/mes/供应商/添加供应商.md index 37c6bf8..613dae6 100644 --- a/mes/供应商/添加供应商.md +++ b/mes/供应商/添加供应商.md @@ -27,9 +27,9 @@ URL: http://localhost:8033/open/AddSupplier ``` { "data": { - profile: "测试厂区", - supplierCode: "1002210180009192", - descriptions: "", + "profile": "测试", + "supplierCode": "1045543weee", + "descriptions": "新的公司" } } ``` @@ -43,9 +43,14 @@ URL: http://localhost:8033/open/AddSupplier ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data": {} + "clock": "2023-07-05 13:49:18.396", + "status": "ok", + "data": { + "info": { + "supplierCode": "1045543weee", + "descriptions": "新的公司" + } + } } ``` diff --git a/mes/选项/列出产品标签形式.md b/mes/选项/列出产品标签形式.md index 4e740f2..6c68a7d 100644 --- a/mes/选项/列出产品标签形式.md +++ b/mes/选项/列出产品标签形式.md @@ -26,7 +26,7 @@ URL: http://localhost:8033/open/ListDfFamilys ``` { "data": { - profile: "测试厂区", + profile: "测试", search: "11BB", } } @@ -44,7 +44,6 @@ URL: http://localhost:8033/open/ListDfFamilys | familyCode | string | 标签形式编码 | | descriptions | string | 标签形式描述 | | aliasName | string | 创建者 | -| flag | int | 数据状态:0禁用 1启用 | | createTime | string | 创建时间 | @@ -52,17 +51,42 @@ URL: http://localhost:8033/open/ListDfFamilys ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data": { - list: [{ - familyCode: "AG-HD108N-415", - descriptions: "AG-HD108N-415", - aliasName: "mesadmin", - flag: 1, - createTime: "2022-01-10 23:10:01.890" - }] - } + "clock": "2023-07-05 10:32:51.014", + "status": "ok", + "data": { + "list": [ + { + "familyCode": "JW-HD144-11BB", + "descriptions": "JW-HD144-11BB", + "aliasName": "zcpl", + "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" + } + ] + } } ``` diff --git a/mes/选项/列出产品特征.md b/mes/选项/列出产品特征.md index 80147a7..37953a5 100644 --- a/mes/选项/列出产品特征.md +++ b/mes/选项/列出产品特征.md @@ -26,8 +26,8 @@ URL: http://localhost:8033/open/ListFeatureCode ``` { "data": { - profile: "测试厂区", - search: "P", + "profile": "测试厂区", + "search": "P", } } ``` @@ -53,10 +53,10 @@ URL: http://localhost:8033/open/ListFeatureCode "clock": "2023-06-25 20:00:00.000", "status": "ok", "data": { - list: [{ - SourceId: 1, - SourceValue: "P", - SourceDesc: "P" + "list": [{ + "SourceId": 1, + "SourceValue": "P", + "SourceDesc": "P" }] } }