From 0c6eb7e3a2215723457d6ef10af5b72042394a9a 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, 28 Jun 2023 14:55:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E8=BF=94=E5=9B=9E=E5=80=BC?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mes/产品/列出产品.md | 109 +++++++++++++------------ mes/产品/查询产品详情.md | 107 ++++++++++++------------ mes/供应商/列出供应商.md | 9 +- mes/供应商/查询供应商详情.md | 8 +- mes/物料/列出物料.md | 61 +++++++------- mes/物料/列出物料类别.md | 10 +-- mes/物料/查询物料详情.md | 62 +++++++------- mes/选项/列出产品标签形式.md | 8 +- 8 files changed, 192 insertions(+), 182 deletions(-) diff --git a/mes/产品/列出产品.md b/mes/产品/列出产品.md index 2257c69..cedf08e 100644 --- a/mes/产品/列出产品.md +++ b/mes/产品/列出产品.md @@ -90,60 +90,61 @@ attrs字段 { "clock": "2023-06-25 20:00:00.000", "status": "ok", - "data": [ - { - 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:"" - } - ], - } - ] + "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:"" + } + ], + }] + + } } ``` diff --git a/mes/产品/查询产品详情.md b/mes/产品/查询产品详情.md index c029ae7..cf9e58d 100644 --- a/mes/产品/查询产品详情.md +++ b/mes/产品/查询产品详情.md @@ -1,4 +1,4 @@ -### 查询产品详情(QueryProduct) +### 查询产品详情(GetProduct) 此接口用于查询产品详情 @@ -8,7 +8,7 @@ 方法:POST -URL: http://localhost:8033/open/QueryProduct +URL: http://localhost:8033/open/GetProduct --- @@ -91,57 +91,60 @@ attrs字段 "clock": "2023-06-25 20:00:00.000", "status": "ok", "data": { - 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:"" - } - ], + 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:"" + } + ], + } } + } ``` diff --git a/mes/供应商/列出供应商.md b/mes/供应商/列出供应商.md index e84e325..7cda31e 100644 --- a/mes/供应商/列出供应商.md +++ b/mes/供应商/列出供应商.md @@ -64,8 +64,9 @@ URL: http://localhost:8033/open/ListSupplier { "clock": "2023-06-25 20:00:00.000", "status": "ok", - "data": [ - { + "data": { + list:[ + { supplierCode:"1002210180009192", descriptions:"无锡联晟光伏科技有限公司", flag:1, @@ -102,8 +103,8 @@ URL: http://localhost:8033/open/ListSupplier v_flag_frameglue:0, v_flag_jboxglue:0, v_flag_isolatingbar:0, - } - ] + }] + } } ``` diff --git a/mes/供应商/查询供应商详情.md b/mes/供应商/查询供应商详情.md index 5a478ab..c5401b7 100644 --- a/mes/供应商/查询供应商详情.md +++ b/mes/供应商/查询供应商详情.md @@ -1,4 +1,4 @@ -### 查询供应商详情(QuerySupplier) +### 查询供应商详情(GetSupplier) 此接口用于查询供应商详情 @@ -8,7 +8,7 @@ 方法:POST -URL: http://localhost:8033/open/QuerySupplier +URL: http://localhost:8033/open/GetSupplier --- @@ -65,7 +65,8 @@ URL: http://localhost:8033/open/QuerySupplier "clock": "2023-06-25 20:00:00.000", "status": "ok", "data":{ - supplierCode:"1002210180009192", + info:{ + supplierCode:"1002210180009192", descriptions:"无锡联晟光伏科技有限公司", flag:1, v_flag_cell:1, @@ -82,6 +83,7 @@ URL: http://localhost:8033/open/QuerySupplier v_flag_frameglue:0, v_flag_jboxglue:0, v_flag_isolatingbar:0, + } } } ``` diff --git a/mes/物料/列出物料.md b/mes/物料/列出物料.md index 8bbc78d..0be14f6 100644 --- a/mes/物料/列出物料.md +++ b/mes/物料/列出物料.md @@ -81,38 +81,39 @@ attrs字段 { "clock": "2023-06-25 20:00:00.000", "status": "ok", - "data": [ - { - materialCode:"CELL001", - materialTypeCode:"CELL", - materialTypeDesc:"电池片", - descriptions:"电池片描述", - flag:1, - createTime:"2023-04-09 18:10:01", - attrs:[ + "data": { + list:[ { - materialCode:"CELL001", - materialTypeCode:"CELL", - materialTypeDesc:"电池片", - attrCode:"crys_type", - attrName:"晶体结构", - value:"单晶", - valueCode:"单晶", - flag:1 - }, - { - materialCode:"CELL001", - materialTypeCode:"CELL", - materialTypeDesc:"电池片", - attrCode:"cell_uop", - attrName:"单片功率", - value:"7.82", - valueCode:"7.82", - flag:1 - } - ], + materialCode:"CELL001", + materialTypeCode:"CELL", + materialTypeDesc:"电池片", + descriptions:"电池片描述", + flag:1, + createTime:"2023-04-09 18:10:01", + attrs:[ + { + materialCode:"CELL001", + materialTypeCode:"CELL", + materialTypeDesc:"电池片", + attrCode:"crys_type", + attrName:"晶体结构", + value:"单晶", + valueCode:"单晶", + flag:1 + }, + { + materialCode:"CELL001", + materialTypeCode:"CELL", + materialTypeDesc:"电池片", + attrCode:"cell_uop", + attrName:"单片功率", + value:"7.82", + valueCode:"7.82", + flag:1 + } + ], + }] } - ] } ``` diff --git a/mes/物料/列出物料类别.md b/mes/物料/列出物料类别.md index c589fb5..0559881 100644 --- a/mes/物料/列出物料类别.md +++ b/mes/物料/列出物料类别.md @@ -1,6 +1,6 @@ ### 列出物料类别(ListMaterialType) -此接口用于获取物料列表,搜索物料 +此接口用于列出物料类别列表 --- @@ -55,8 +55,8 @@ URL: http://localhost:8033/open/ListMaterialType { "clock": "2023-06-25 20:00:00.000", "status": "ok", - "data": [ - { + "data": { + list:[{ materialTypeCode:"CELL", materialTypeDesc:"电池片", unit:"pcs", @@ -73,8 +73,8 @@ URL: http://localhost:8033/open/ListMaterialType ManagerType:"Photovoltaic", Sort:2, ErpCode:"", - } - ] + }] + } } ``` diff --git a/mes/物料/查询物料详情.md b/mes/物料/查询物料详情.md index 5b1471b..ae912be 100644 --- a/mes/物料/查询物料详情.md +++ b/mes/物料/查询物料详情.md @@ -1,4 +1,4 @@ -### 查询物料详情(QueryMaterial) +### 查询物料详情(GetMaterial) 此接口用于查询物料详情 @@ -8,7 +8,7 @@ 方法:POST -URL: http://localhost:8033/open/QueryMaterial +URL: http://localhost:8033/open/GetMaterial --- @@ -68,34 +68,36 @@ attrs字段 "clock": "2023-06-25 20:00:00.000", "status": "ok", "data": { - materialCode:"CELL001", - materialTypeCode:"CELL", - materialTypeDesc:"电池片", - descriptions:"电池片描述", - flag:1, - createTime:"2023-04-09 18:10:01", - attrs:[ - { - materialCode:"CELL001", - materialTypeCode:"CELL", - materialTypeDesc:"电池片", - attrCode:"crys_type", - attrName:"晶体结构", - value:"单晶", - valueCode:"单晶", - flag:1 - }, - { - materialCode:"CELL001", - materialTypeCode:"CELL", - materialTypeDesc:"电池片", - attrCode:"cell_uop", - attrName:"单片功率", - value:"7.82", - valueCode:"7.82", - flag:1 - } - ], + info:{ + materialCode:"CELL001", + materialTypeCode:"CELL", + materialTypeDesc:"电池片", + descriptions:"电池片描述", + flag:1, + createTime:"2023-04-09 18:10:01", + attrs:[ + { + materialCode:"CELL001", + materialTypeCode:"CELL", + materialTypeDesc:"电池片", + attrCode:"crys_type", + attrName:"晶体结构", + value:"单晶", + valueCode:"单晶", + flag:1 + }, + { + materialCode:"CELL001", + materialTypeCode:"CELL", + materialTypeDesc:"电池片", + attrCode:"cell_uop", + attrName:"单片功率", + value:"7.82", + valueCode:"7.82", + flag:1 + } + ], + } } } ``` diff --git a/mes/选项/列出产品标签形式.md b/mes/选项/列出产品标签形式.md index 1893ab3..e10c123 100644 --- a/mes/选项/列出产品标签形式.md +++ b/mes/选项/列出产品标签形式.md @@ -54,15 +54,15 @@ URL: http://localhost:8033/open/ListDfFamilys { "clock": "2023-06-25 20:00:00.000", "status": "ok", - "data": [ - { + "data": { + list:[{ familyCode: "AG-HD108N-415", descriptions: "AG-HD108N-415", aliasName: "mesadmin", flag: 1, createTime: "2022-01-10 23:10:01.890" - } - ] + }] + } } ```