diff --git a/mes/BOM/BOM删除材料.md b/mes/BOM/BOM删除材料.md index dd8e864..6daa254 100644 --- a/mes/BOM/BOM删除材料.md +++ b/mes/BOM/BOM删除材料.md @@ -26,11 +26,11 @@ URL: http://localhost:8033/open/BomDeletePart ``` { - "data": { - profile:"测试厂区", - bomId:"1407", - bomPartNbr:"M.1.1.N.100" - } + "data": { + profile: "测试厂区", + bomId: "1407", + bomPartNbr: "M.1.1.N.100" + } } ``` diff --git a/mes/BOM/BOM添加材料.md b/mes/BOM/BOM添加材料.md index b15ffca..f7f033b 100644 --- a/mes/BOM/BOM添加材料.md +++ b/mes/BOM/BOM添加材料.md @@ -33,18 +33,18 @@ URL: http://localhost:8033/open/BomAddPart ``` { - "data": { - profile:"测试厂区", - bomId:"1407", - bomPartNbr:"M.1.1.N.100", - isPrimary:1, - PrimaryPart:"M.1.1.N.100", - SerialRequirement:3, - PartType:"CELL", - LostRatio:3, - GlueType:"", - Supplier:"CS2", - } + "data": { + profile: "测试厂区", + bomId: "1407", + bomPartNbr: "M.1.1.N.100", + isPrimary: 1, + PrimaryPart: "M.1.1.N.100", + SerialRequirement: 3, + PartType: "CELL", + LostRatio: 3, + GlueType: "", + Supplier: "CS2", + } } ``` diff --git a/mes/BOM/产品绑定BOM.md b/mes/BOM/产品绑定BOM.md index f50e665..981a94c 100644 --- a/mes/BOM/产品绑定BOM.md +++ b/mes/BOM/产品绑定BOM.md @@ -26,11 +26,11 @@ URL: http://localhost:8033/open/ProductBindBom ``` { - "data": { - profile:"测试厂区", - productCode:"088+089ART-MW", - bomId:"1407" - } + "data": { + profile: "测试厂区", + productCode: "088+089ART-MW", + bomId: "1407" + } } ``` diff --git a/mes/BOM/修改BOM.md b/mes/BOM/修改BOM.md index 985ee7d..cf09728 100644 --- a/mes/BOM/修改BOM.md +++ b/mes/BOM/修改BOM.md @@ -26,11 +26,11 @@ URL: http://localhost:8033/open/UpdateConfigBom ``` { - "data": { - profile:"测试厂区", - bomId:"BOM001", - descriptions:"修改后的BOM描述", - } + "data": { + profile: "测试厂区", + bomId: "BOM001", + descriptions: "修改后的BOM描述", + } } ``` diff --git a/mes/BOM/列出BOM.md b/mes/BOM/列出BOM.md index d9502b4..a61341a 100644 --- a/mes/BOM/列出BOM.md +++ b/mes/BOM/列出BOM.md @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListConfigBom ``` { - "data": { - profile:"测试厂区", - search: "bom", - } + "data": { + profile: "测试厂区", + search: "bom", + } } ``` @@ -50,21 +50,21 @@ URL: http://localhost:8033/open/ListConfigBom ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data": { - list:[{ - bomId:"CXBOM", - descriptions:"CXBOM", - flag:1, - createTime:"2023-04-09 18:10:01" - },{ - bomId:"testBom002", - descriptions:"测试BOM002", - flag:1, - createTime:"2023-04-09 18:10:01" - }] - } + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + list: [{ + bomId: "CXBOM", + descriptions: "CXBOM", + flag: 1, + createTime: "2023-04-09 18:10:01" + }, { + bomId: "testBom002", + descriptions: "测试BOM002", + flag: 1, + createTime: "2023-04-09 18:10:01" + }] + } } ``` diff --git a/mes/BOM/查询BOM明细.md b/mes/BOM/查询BOM明细.md index 6e079e1..d0217f8 100644 --- a/mes/BOM/查询BOM明细.md +++ b/mes/BOM/查询BOM明细.md @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListConfigBomPart ``` { - "data": { - profile:"测试厂区", - bomId: "1407", - } + "data": { + profile: "测试厂区", + bomId: "1407", + } } ``` @@ -58,37 +58,37 @@ URL: http://localhost:8033/open/ListConfigBomPart ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data": { - list:[{ - bomId:"1407", - descriptions:"1407号bom", - bomPartNbr:"M.1.1.N.100", - isPrimary:1, - PrimaryPart:"M.1.1.N.100", - SerialRequirement:3, - Uom:"Pcs", - PartType:"CELL", - PartTypeDesc:"电池片", - LostRatio:3, - GlueType:"", - Supplier:"CS2", - },{ - bomId:"1407", - descriptions:"1407号bom", - bomPartNbr:"401908010191", - isPrimary:1, - PrimaryPart:"401908010191", - SerialRequirement:1, - Uom:"Pcs", - PartType:"JBOX", - PartTypeDesc:"接线盒", - LostRatio:0, - GlueType:"", - Supplier:"CS2", - }] - } + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + list: [{ + bomId: "1407", + descriptions: "1407号bom", + bomPartNbr: "M.1.1.N.100", + isPrimary: 1, + PrimaryPart: "M.1.1.N.100", + SerialRequirement: 3, + Uom: "Pcs", + PartType: "CELL", + PartTypeDesc: "电池片", + LostRatio: 3, + GlueType: "", + Supplier: "CS2", + }, { + bomId: "1407", + descriptions: "1407号bom", + bomPartNbr: "401908010191", + isPrimary: 1, + PrimaryPart: "401908010191", + SerialRequirement: 1, + Uom: "Pcs", + PartType: "JBOX", + PartTypeDesc: "接线盒", + LostRatio: 0, + GlueType: "", + Supplier: "CS2", + }] + } } ``` diff --git a/mes/BOM/添加BOM.md b/mes/BOM/添加BOM.md index f90539e..2e69a3e 100644 --- a/mes/BOM/添加BOM.md +++ b/mes/BOM/添加BOM.md @@ -26,11 +26,11 @@ URL: http://localhost:8033/open/AddConfigBom ``` { - "data": { - profile:"测试厂区", - bomId:"BOM001", - descriptions:"新的bom", - } + "data": { + profile: "测试厂区", + bomId: "BOM001", + descriptions: "新的bom", + } } ``` diff --git a/mes/产品/修改产品.md b/mes/产品/修改产品.md index 129e4d3..63c6e19 100644 --- a/mes/产品/修改产品.md +++ b/mes/产品/修改产品.md @@ -36,20 +36,20 @@ 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:"", - } + "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: "", + } } ``` diff --git a/mes/产品/列出产品.md b/mes/产品/列出产品.md index 2257c69..0ffd70e 100644 --- a/mes/产品/列出产品.md +++ b/mes/产品/列出产品.md @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListProduct ``` { - "data": { - profile:"测试厂区", - search: "组件001", - } + "data": { + profile: "测试厂区", + search: "组件001", + } } ``` @@ -88,62 +88,62 @@ 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:"" - } - ], - } - ] + "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: "" + } + ], + }] + + } } ``` diff --git a/mes/产品/删除产品.md b/mes/产品/删除产品.md index ebd2493..1c63eff 100644 --- a/mes/产品/删除产品.md +++ b/mes/产品/删除产品.md @@ -26,10 +26,10 @@ URL: http://localhost:8033/open/DeleteProduct ``` { - "data": { - profile: "测试厂区", - productCode: "088+089ART-MW", - } + "data": { + profile: "测试厂区", + productCode: "088+089ART-MW", + } } ``` diff --git a/mes/产品/查询产品详情.md b/mes/产品/查询产品详情.md index c029ae7..50ab918 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 --- @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/QueryProduct ``` { - "data": { - profile:"测试厂区", - productCode:"088+089ART-MW", - } + "data": { + profile: "测试厂区", + productCode: "088+089ART-MW", + } } ``` @@ -88,60 +88,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:"" - } - ], - } + "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: "" + } + ], + } + } } ``` diff --git a/mes/产品/添加产品.md b/mes/产品/添加产品.md index 7fb0442..666cf69 100644 --- a/mes/产品/添加产品.md +++ b/mes/产品/添加产品.md @@ -36,20 +36,20 @@ 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:"", - } + "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: "", + } } ``` diff --git a/mes/供应商/修改供应商.md b/mes/供应商/修改供应商.md index ee7cac8..2d23fb6 100644 --- a/mes/供应商/修改供应商.md +++ b/mes/供应商/修改供应商.md @@ -41,26 +41,26 @@ URL: http://localhost:8033/open/UpdateSupplier ``` { - "data": { - profile:"测试厂区", - supplierCode: "1002210180009192", - descriptions: "无锡市江松科技有限公司", - flag: 1, - v_flag_cell: 1, - v_flag_bks: 1, - v_flag_eva: 0, - v_flag_glass: 0, - v_flag_hulian: 0, - v_flag_huiliu: 0, - v_flag_jbox: 0, - v_flag_glue: 0, - v_flag_frame: 0, - v_flag_solder: 0, - v_flag_abglue: 0, - v_flag_frameglue: 0, - v_flag_jboxglue: 0, - v_flag_isolatingbar: 0, - } + "data": { + profile: "测试厂区", + supplierCode: "1002210180009192", + descriptions: "无锡市江松科技有限公司", + flag: 1, + v_flag_cell: 1, + v_flag_bks: 1, + v_flag_eva: 0, + v_flag_glass: 0, + v_flag_hulian: 0, + v_flag_huiliu: 0, + v_flag_jbox: 0, + v_flag_glue: 0, + v_flag_frame: 0, + v_flag_solder: 0, + v_flag_abglue: 0, + v_flag_frameglue: 0, + v_flag_jboxglue: 0, + v_flag_isolatingbar: 0, + } } ``` diff --git a/mes/供应商/列出供应商.md b/mes/供应商/列出供应商.md index e84e325..f82360f 100644 --- a/mes/供应商/列出供应商.md +++ b/mes/供应商/列出供应商.md @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListSupplier ``` { - "data": { - profile:"测试厂区", - search: "互利", - } + "data": { + profile: "测试厂区", + search: "互利", + } } ``` @@ -62,48 +62,49 @@ URL: http://localhost:8033/open/ListSupplier ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data": [ - { - supplierCode:"1002210180009192", - descriptions:"无锡联晟光伏科技有限公司", - flag:1, - v_flag_cell:1, - v_flag_bks:1, - v_flag_eva:0, - v_flag_glass:0, - v_flag_hulian:0, - v_flag_huiliu:0, - v_flag_jbox:0, - v_flag_glue:0, - v_flag_frame:0, - v_flag_solder:0, - v_flag_abglue:0, - v_flag_frameglue:0, - v_flag_jboxglue:0, - v_flag_isolatingbar:0, - }, - { - supplierCode:"1002210180009206", - descriptions:"无锡梦鼎光电科技有限公司", - flag:1, - v_flag_cell:1, - v_flag_bks:1, - v_flag_eva:0, - v_flag_glass:0, - v_flag_hulian:0, - v_flag_huiliu:1, - v_flag_jbox:0, - v_flag_glue:0, - v_flag_frame:0, - v_flag_solder:0, - v_flag_abglue:0, - v_flag_frameglue:0, - v_flag_jboxglue:0, - v_flag_isolatingbar:0, - } - ] + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + list: [{ + supplierCode: "1002210180009192", + descriptions: "无锡联晟光伏科技有限公司", + flag: 1, + v_flag_cell: 1, + v_flag_bks: 1, + v_flag_eva: 0, + v_flag_glass: 0, + v_flag_hulian: 0, + v_flag_huiliu: 0, + v_flag_jbox: 0, + v_flag_glue: 0, + v_flag_frame: 0, + v_flag_solder: 0, + v_flag_abglue: 0, + v_flag_frameglue: 0, + v_flag_jboxglue: 0, + v_flag_isolatingbar: 0, + }, + { + supplierCode: "1002210180009206", + descriptions: "无锡梦鼎光电科技有限公司", + flag: 1, + v_flag_cell: 1, + v_flag_bks: 1, + v_flag_eva: 0, + v_flag_glass: 0, + v_flag_hulian: 0, + v_flag_huiliu: 1, + v_flag_jbox: 0, + v_flag_glue: 0, + v_flag_frame: 0, + v_flag_solder: 0, + v_flag_abglue: 0, + v_flag_frameglue: 0, + v_flag_jboxglue: 0, + v_flag_isolatingbar: 0, + } + ] + } } ``` diff --git a/mes/供应商/删除供应商.md b/mes/供应商/删除供应商.md index 3ef6a38..138a3e2 100644 --- a/mes/供应商/删除供应商.md +++ b/mes/供应商/删除供应商.md @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/DeleteSupplier ``` { - "data": { - profile:"测试厂区", - supplierCode: "1002210180009192", - } + "data": { + profile: "测试厂区", + supplierCode: "1002210180009192", + } } ``` diff --git a/mes/供应商/查询供应商详情.md b/mes/供应商/查询供应商详情.md index 5a478ab..fefc2ac 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 --- @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/QuerySupplier ``` { - "data": { - profile:"测试厂区", - supplierCode: "1002210180009192", - } + "data": { + profile: "测试厂区", + supplierCode: "1002210180009192", + } } ``` @@ -62,27 +62,29 @@ URL: http://localhost:8033/open/QuerySupplier ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data":{ - supplierCode:"1002210180009192", - descriptions:"无锡联晟光伏科技有限公司", - flag:1, - v_flag_cell:1, - v_flag_bks:1, - v_flag_eva:0, - v_flag_glass:0, - v_flag_hulian:0, - v_flag_huiliu:0, - v_flag_jbox:0, - v_flag_glue:0, - v_flag_frame:0, - v_flag_solder:0, - v_flag_abglue:0, - v_flag_frameglue:0, - v_flag_jboxglue:0, - v_flag_isolatingbar:0, - } + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + info: { + supplierCode: "1002210180009192", + descriptions: "无锡联晟光伏科技有限公司", + flag: 1, + v_flag_cell: 1, + v_flag_bks: 1, + v_flag_eva: 0, + v_flag_glass: 0, + v_flag_hulian: 0, + v_flag_huiliu: 0, + v_flag_jbox: 0, + v_flag_glue: 0, + v_flag_frame: 0, + v_flag_solder: 0, + v_flag_abglue: 0, + v_flag_frameglue: 0, + v_flag_jboxglue: 0, + v_flag_isolatingbar: 0, + } + } } ``` diff --git a/mes/供应商/添加供应商.md b/mes/供应商/添加供应商.md index a766ef2..b27900e 100644 --- a/mes/供应商/添加供应商.md +++ b/mes/供应商/添加供应商.md @@ -41,26 +41,26 @@ URL: http://localhost:8033/open/AddSupplier ``` { - "data": { - profile:"测试厂区", - supplierCode: "1002210180009192", - descriptions: "", - flag: 1, - v_flag_cell: 1, - v_flag_bks: 1, - v_flag_eva: 0, - v_flag_glass: 0, - v_flag_hulian: 0, - v_flag_huiliu: 0, - v_flag_jbox: 0, - v_flag_glue: 0, - v_flag_frame: 0, - v_flag_solder: 0, - v_flag_abglue: 0, - v_flag_frameglue: 0, - v_flag_jboxglue: 0, - v_flag_isolatingbar: 0, - } + "data": { + profile: "测试厂区", + supplierCode: "1002210180009192", + descriptions: "", + flag: 1, + v_flag_cell: 1, + v_flag_bks: 1, + v_flag_eva: 0, + v_flag_glass: 0, + v_flag_hulian: 0, + v_flag_huiliu: 0, + v_flag_jbox: 0, + v_flag_glue: 0, + v_flag_frame: 0, + v_flag_solder: 0, + v_flag_abglue: 0, + v_flag_frameglue: 0, + v_flag_jboxglue: 0, + v_flag_isolatingbar: 0, + } } ``` diff --git a/mes/原材料分批/原材料批次列表.md b/mes/原材料分批/原材料批次列表.md index 2ba14a9..9d26c03 100644 --- a/mes/原材料分批/原材料批次列表.md +++ b/mes/原材料分批/原材料批次列表.md @@ -62,26 +62,28 @@ __data:__ { "clock": "2023-06-25 20:00:00.000", "status": "ok", - "data": [ - { - "key":"123", - "workOrder":"123456", - "batchNumber":"CELL1000", - "subBatchNumber":"", - "materialCode":"CELL12", - "uom":"块", - "count":1000 - }, - { - "key":"1234", - "workOrder":"123456", - "batchNumber":"CELL1000", - "subBatchNumber":"CELL1000-01", - "materialCode":"CELL12", - "uom":"块", - "count":80 - } - ] + "data": { + "batches":[ + { + "key":"123", + "workOrder":"123456", + "batchNumber":"CELL1000", + "subBatchNumber":"", + "materialCode":"CELL12", + "uom":"块", + "count":1000 + }, + { + "key":"1234", + "workOrder":"123456", + "batchNumber":"CELL1000", + "subBatchNumber":"CELL1000-01", + "materialCode":"CELL12", + "uom":"块", + "count":80 + } + ] + } } ``` diff --git a/mes/原材料分批/原材料批次详细信息.md b/mes/原材料分批/原材料批次详细信息.md index 792c3e1..c159d9e 100644 --- a/mes/原材料分批/原材料批次详细信息.md +++ b/mes/原材料分批/原材料批次详细信息.md @@ -85,42 +85,44 @@ __MaterialAttrs:__ "clock": "2023-06-25 20:00:00.000", "status": "ok", "data": { - "key":"", - "workOrder":"123456", - "batchNumber":"CELL1000", - "subBatchNumber":"", - "materialCode":"CELL12", - "materialName": "12号电池片", - "materialTypeCode":"CELL", - "materialTypeDesc":"电池片", - "uom":"块", - "count":1000, - "surplusQty": 534, - "supplierBatchNo": "ZL0902001", - "supplierCode":"ZL", - "supplier": "中来", - "secondSupplierCode": "ZL", - "secondSupplier": "中来", - "createTime": "2021-01-01 09:00:00", - "remark": "这里是备注", - "materialAttrs": [ - { - "materialTypeCode":"CELL", - "materialTypeDesc":"电池片", - "attrCode":"Color", - "attrName":"颜色", - "valueCode":"Blue", - "value":"蓝色" - }, - { - "materialTypeCode":"CELL", - "materialTypeDesc":"电池片", - "attrCode":"Size", - "attrName":"规格", - "valueCode":"144T", - "value":"144T" - } - ] + "batch":{ + "key":"", + "workOrder":"123456", + "batchNumber":"CELL1000", + "subBatchNumber":"", + "materialCode":"CELL12", + "materialName": "12号电池片", + "materialTypeCode":"CELL", + "materialTypeDesc":"电池片", + "uom":"块", + "count":1000, + "surplusQty": 534, + "supplierBatchNo": "ZL0902001", + "supplierCode":"ZL", + "supplier": "中来", + "secondSupplierCode": "ZL", + "secondSupplier": "中来", + "createTime": "2021-01-01 09:00:00", + "remark": "这里是备注", + "materialAttrs": [ + { + "materialTypeCode":"CELL", + "materialTypeDesc":"电池片", + "attrCode":"Color", + "attrName":"颜色", + "valueCode":"Blue", + "value":"蓝色" + }, + { + "materialTypeCode":"CELL", + "materialTypeDesc":"电池片", + "attrCode":"Size", + "attrName":"规格", + "valueCode":"144T", + "value":"144T" + } + ] + } } } diff --git a/mes/物料/修改物料.md b/mes/物料/修改物料.md index 0838d0e..2d89a1f 100644 --- a/mes/物料/修改物料.md +++ b/mes/物料/修改物料.md @@ -41,33 +41,32 @@ attrs字段 ``` { - "data": { - profile:"测试厂区", - materialCode:"CELL001", - materialTypeCode:"CELL", - descriptions:"电池片描述", - flag:1, - attrs:[ - { - materialCode:"CELL001", - materialTypeCode:"CELL", - attrCode:"crys_type", - attrName:"晶体结构", - value:"单晶", - valueCode:"单晶", - flag:1 - }, - { - materialCode:"CELL001", - materialTypeCode:"CELL", - attrCode:"cell_uop", - attrName:"单片功率", - value:"7.82", - valueCode:"7.82", - flag:1 - } - ], - } + "data": { + profile: "测试厂区", + materialCode: "CELL001", + materialTypeCode: "CELL", + descriptions: "电池片描述", + flag: 1, + attrs: [{ + materialCode: "CELL001", + materialTypeCode: "CELL", + attrCode: "crys_type", + attrName: "晶体结构", + value: "单晶", + valueCode: "单晶", + flag: 1 + }, + { + materialCode: "CELL001", + materialTypeCode: "CELL", + attrCode: "cell_uop", + attrName: "单片功率", + value: "7.82", + valueCode: "7.82", + flag: 1 + } + ], + } } ``` diff --git a/mes/物料/列出物料.md b/mes/物料/列出物料.md index 8bbc78d..eeede56 100644 --- a/mes/物料/列出物料.md +++ b/mes/物料/列出物料.md @@ -26,11 +26,11 @@ URL: http://localhost:8033/open/ListMaterial ``` { - "data": { - profile:"测试厂区", - search: "玻璃", - type: "" - } + "data": { + profile: "测试厂区", + search: "玻璃", + type: "" + } } ``` @@ -38,11 +38,11 @@ URL: http://localhost:8033/open/ListMaterial ``` { - "data": { - profile:"测试厂区", - search: "", - type: "GLASS" - } + "data": { + profile: "测试厂区", + search: "", + type: "GLASS" + } } ``` @@ -79,40 +79,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:[ - { - 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 - } - ], - } - ] + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + list: [{ + 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..3c7e913 100644 --- a/mes/物料/列出物料类别.md +++ b/mes/物料/列出物料类别.md @@ -1,6 +1,6 @@ ### 列出物料类别(ListMaterialType) -此接口用于获取物料列表,搜索物料 +此接口用于列出物料类别列表 --- @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListMaterialType ``` { - "data": { - profile:"测试厂区", - search: "电池", - } + "data": { + profile: "测试厂区", + search: "电池", + } } ``` @@ -53,28 +53,29 @@ URL: http://localhost:8033/open/ListMaterialType ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data": [ - { - materialTypeCode:"CELL", - materialTypeDesc:"电池片", - unit:"pcs", - flag:1, - ManagerType:"Photovoltaic", - Sort:1, - ErpCode:"", - }, - { - materialTypeCode:"EVA", - materialTypeDesc:"EVA", - unit:"m2", - flag:1, - ManagerType:"Photovoltaic", - Sort:2, - ErpCode:"", - } - ] + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + list: [{ + materialTypeCode: "CELL", + materialTypeDesc: "电池片", + unit: "pcs", + flag: 1, + ManagerType: "Photovoltaic", + Sort: 1, + ErpCode: "", + }, + { + materialTypeCode: "EVA", + materialTypeDesc: "EVA", + unit: "m2", + flag: 1, + ManagerType: "Photovoltaic", + Sort: 2, + ErpCode: "", + } + ] + } } ``` diff --git a/mes/物料/删除物料.md b/mes/物料/删除物料.md index b05ddc0..d520512 100644 --- a/mes/物料/删除物料.md +++ b/mes/物料/删除物料.md @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/DeleteMaterial ``` { - "data": { - profile:"测试厂区", - materialCode:"CELL001", - } + "data": { + profile: "测试厂区", + materialCode: "CELL001", + } } ``` diff --git a/mes/物料/查询物料详情.md b/mes/物料/查询物料详情.md index 5b1471b..a7080a2 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 --- @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/QueryMaterial ``` { - "data": { - profile:"测试厂区", - materialCode:"CELL001", - } + "data": { + profile: "测试厂区", + materialCode: "CELL001", + } } ``` @@ -65,38 +65,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:[ - { - 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 - } - ], - } + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + 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 16fc9ab..18d8f0f 100644 --- a/mes/物料/添加物料.md +++ b/mes/物料/添加物料.md @@ -41,33 +41,32 @@ attrs字段 ``` { - "data": { - profile:"测试厂区", - materialCode:"CELL001", - materialTypeCode:"CELL", - descriptions:"电池片描述", - flag:1, - attrs:[ - { - materialCode:"CELL001", - materialTypeCode:"CELL", - attrCode:"crys_type", - attrName:"晶体结构", - value:"单晶", - valueCode:"单晶", - flag:1 - }, - { - materialCode:"CELL001", - materialTypeCode:"CELL", - attrCode:"cell_uop", - attrName:"单片功率", - value:"7.82", - valueCode:"7.82", - flag:1 - } - ], - } + "data": { + profile: "测试厂区", + materialCode: "CELL001", + materialTypeCode: "CELL", + descriptions: "电池片描述", + flag: 1, + attrs: [{ + materialCode: "CELL001", + materialTypeCode: "CELL", + attrCode: "crys_type", + attrName: "晶体结构", + value: "单晶", + valueCode: "单晶", + flag: 1 + }, + { + materialCode: "CELL001", + materialTypeCode: "CELL", + attrCode: "cell_uop", + attrName: "单片功率", + value: "7.82", + valueCode: "7.82", + flag: 1 + } + ], + } } ``` diff --git a/mes/选项/列出产品标签形式.md b/mes/选项/列出产品标签形式.md index 1893ab3..4e740f2 100644 --- a/mes/选项/列出产品标签形式.md +++ b/mes/选项/列出产品标签形式.md @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListDfFamilys ``` { - "data": { - profile: "测试厂区", - search: "11BB", - } + "data": { + profile: "测试厂区", + search: "11BB", + } } ``` @@ -52,17 +52,17 @@ URL: http://localhost:8033/open/ListDfFamilys ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data": [ - { - familyCode: "AG-HD108N-415", - descriptions: "AG-HD108N-415", - aliasName: "mesadmin", - flag: 1, - createTime: "2022-01-10 23:10:01.890" - } - ] + "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" + }] + } } ``` diff --git a/mes/选项/列出产品特征.md b/mes/选项/列出产品特征.md index 40296ea..80147a7 100644 --- a/mes/选项/列出产品特征.md +++ b/mes/选项/列出产品特征.md @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListFeatureCode ``` { - "data": { - profile: "测试厂区", - search: "P", - } + "data": { + profile: "测试厂区", + search: "P", + } } ``` @@ -50,15 +50,15 @@ URL: http://localhost:8033/open/ListFeatureCode ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data":{ - list:[{ - SourceId: 1, - SourceValue: "P", - SourceDesc: "P" - }] - } + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + list: [{ + SourceId: 1, + SourceValue: "P", + SourceDesc: "P" + }] + } } ``` diff --git a/mes/选项/列出工艺类型.md b/mes/选项/列出工艺类型.md index 03807b7..71f1a95 100644 --- a/mes/选项/列出工艺类型.md +++ b/mes/选项/列出工艺类型.md @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListProcessType ``` { - "data": { - profile: "测试厂区", - search: "双玻", - } + "data": { + profile: "测试厂区", + search: "双玻", + } } ``` @@ -50,15 +50,15 @@ URL: http://localhost:8033/open/ListProcessType ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data":{ - list:[{ - SourceId: 1, - SourceValue: "双玻组件", - SourceDesc: "双玻组件" - }] - } + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + list: [{ + SourceId: 1, + SourceValue: "双玻组件", + SourceDesc: "双玻组件" + }] + } } ``` diff --git a/mes/选项/列出晶体类型.md b/mes/选项/列出晶体类型.md index ddf95b4..0ad641d 100644 --- a/mes/选项/列出晶体类型.md +++ b/mes/选项/列出晶体类型.md @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListCrysType ``` { - "data": { - profile: "测试厂区", - search: "单晶", - } + "data": { + profile: "测试厂区", + search: "单晶", + } } ``` @@ -50,15 +50,15 @@ URL: http://localhost:8033/open/ListCrysType ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data":{ - list:[{ - SourceId: 1, - SourceValue: "M", - SourceDesc: "单晶" - }] - } + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + list: [{ + SourceId: 1, + SourceValue: "M", + SourceDesc: "单晶" + }] + } } ``` diff --git a/mes/选项/列出栅线类型.md b/mes/选项/列出栅线类型.md index ad3d76d..bb402e1 100644 --- a/mes/选项/列出栅线类型.md +++ b/mes/选项/列出栅线类型.md @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListBusBar ``` { - "data": { - profile: "测试厂区", - search: "11BB", - } + "data": { + profile: "测试厂区", + search: "11BB", + } } ``` @@ -50,15 +50,15 @@ URL: http://localhost:8033/open/ListBusBar ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data":{ - list:[{ - SourceId: 1, - SourceValue: "11BB", - SourceDesc: "11BB" - }] - } + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + list: [{ + SourceId: 1, + SourceValue: "11BB", + SourceDesc: "11BB" + }] + } } ``` diff --git a/mes/选项/列出电池片数量.md b/mes/选项/列出电池片数量.md index 534765b..82e1f0e 100644 --- a/mes/选项/列出电池片数量.md +++ b/mes/选项/列出电池片数量.md @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListCellQty ``` { - "data": { - profile: "测试厂区", - search: "108", - } + "data": { + profile: "测试厂区", + search: "108", + } } ``` @@ -50,15 +50,15 @@ URL: http://localhost:8033/open/ListCellQty ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data":{ - list:[{ - SourceId: 1, - SourceValue: "108", - SourceDesc: "108" - }] - } + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + list: [{ + SourceId: 1, + SourceValue: "108", + SourceDesc: "108" + }] + } } ``` diff --git a/mes/选项/列出组件规格.md b/mes/选项/列出组件规格.md index 6e4e069..24131f1 100644 --- a/mes/选项/列出组件规格.md +++ b/mes/选项/列出组件规格.md @@ -25,10 +25,10 @@ URL: http://localhost:8033/open/ListModSize ``` { - "data": { - profile: "测试厂区", - search: "1728", - } + "data": { + profile: "测试厂区", + search: "1728", + } } ``` @@ -50,15 +50,15 @@ URL: http://localhost:8033/open/ListModSize ``` { - "clock": "2023-06-25 20:00:00.000", - "status": "ok", - "data":{ - list:[{ - SourceId: 1, - SourceValue: "1728*1134*30", - SourceDesc: "1728*1134*30" - }] - } + "clock": "2023-06-25 20:00:00.000", + "status": "ok", + "data": { + list: [{ + SourceId: 1, + SourceValue: "1728*1134*30", + SourceDesc: "1728*1134*30" + }] + } } ```