Browse Source

查询返回值调整

master
吕成旭 1 year ago
parent
commit
0c6eb7e3a2
  1. 109
      mes/产品/列出产品.md
  2. 107
      mes/产品/查询产品详情.md
  3. 9
      mes/供应商/列出供应商.md
  4. 8
      mes/供应商/查询供应商详情.md
  5. 61
      mes/物料/列出物料.md
  6. 10
      mes/物料/列出物料类别.md
  7. 62
      mes/物料/查询物料详情.md
  8. 8
      mes/选项/列出产品标签形式.md

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

@ -90,60 +90,61 @@ attrs字段
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": [ "data": {
{ list:[{
productCode:"088+089ART-MW", productCode:"088+089ART-MW",
familyCode:"ART550-144MHA", familyCode:"ART550-144MHA",
processGroupId:0, processGroupId:0,
crysTypeId:38, crysTypeId:38,
crysTypeDesc:"单晶", crysTypeDesc:"单晶",
crysTypeValue:"M", crysTypeValue:"M",
busbarTypeId:37, busbarTypeId:37,
busbarTypeDesc:"11BB", busbarTypeDesc:"11BB",
busbarTypeValue:"11BB", busbarTypeValue:"11BB",
cellQty:144, cellQty:144,
cellQtyDesc:"144", cellQtyDesc:"144",
cellQtyValue:"144", cellQtyValue:"144",
modSpecId:49, modSpecId:49,
modSpecDesc:"2279*1134*35", modSpecDesc:"2279*1134*35",
modSpecValue:"2279*1134*35", modSpecValue:"2279*1134*35",
processType:39, processType:39,
processTypedesc:"单玻组件", processTypedesc:"单玻组件",
processTypeValue:"单玻组件", processTypeValue:"单玻组件",
featureCode:9, featureCode:9,
featureCodeDesc:"P", featureCodeDesc:"P",
featureCodeValue:"P", featureCodeValue:"P",
modWeight:"", modWeight:"",
fgCode:"", fgCode:"",
createDate:"2022-01-10 23:10:01.890", createDate:"2022-01-10 23:10:01.890",
lastUpdate:"2022-01-16 22:24:32.273", lastUpdate:"2022-01-16 22:24:32.273",
lastUpdateuser:"mesadmin", lastUpdateuser:"mesadmin",
serialCodeRule:"DM405M10-54HSW", serialCodeRule:"DM405M10-54HSW",
palletCodeRule:"DM405M10-54HSW-bz", palletCodeRule:"DM405M10-54HSW-bz",
attrs:[ attrs:[
{ {
id:"7add1e54-d99e-4432-8175-c5afd80ae058", id:"7add1e54-d99e-4432-8175-c5afd80ae058",
attributeId:"Product_GLASS_TYPE", attributeId:"Product_GLASS_TYPE",
attributeDesc:"玻璃类型", attributeDesc:"玻璃类型",
productCode:"088+089ART-MW", productCode:"088+089ART-MW",
description:"双玻", description:"双玻",
code:"双玻", code:"双玻",
createTime:"2023-06-07 14:59:06.800", createTime:"2023-06-07 14:59:06.800",
createUser:"" createUser:""
}, },
{ {
id:"c671f463-5f66-4b99-9083-44fe9293a83e", id:"c671f463-5f66-4b99-9083-44fe9293a83e",
attributeId:"Product_PACK_QTY", attributeId:"Product_PACK_QTY",
attributeDesc:"包装数量", attributeDesc:"包装数量",
productCode:"088+089ART-MW", productCode:"088+089ART-MW",
description:"31", description:"31",
code:"31", code:"31",
createTime:"2023-06-07 14:59:06.800", createTime:"2023-06-07 14:59:06.800",
createUser:"" createUser:""
} }
], ],
} }]
]
}
} }
``` ```

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

@ -1,4 +1,4 @@
### 查询产品详情(QueryProduct) ### 查询产品详情(GetProduct)
此接口用于查询产品详情 此接口用于查询产品详情
@ -8,7 +8,7 @@
方法:POST 方法: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", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": { "data": {
productCode:"088+089ART-MW", info:{
familyCode:"ART550-144MHA", productCode:"088+089ART-MW",
processGroupId:0, familyCode:"ART550-144MHA",
crysTypeId:38, processGroupId:0,
crysTypeDesc:"单晶", crysTypeId:38,
crysTypeValue:"M", crysTypeDesc:"单晶",
busbarTypeId:37, crysTypeValue:"M",
busbarTypeDesc:"11BB", busbarTypeId:37,
busbarTypeValue:"11BB", busbarTypeDesc:"11BB",
cellQty:144, busbarTypeValue:"11BB",
cellQtyDesc:"144", cellQty:144,
cellQtyValue:"144", cellQtyDesc:"144",
modSpecId:49, cellQtyValue:"144",
modSpecDesc:"2279*1134*35", modSpecId:49,
modSpecValue:"2279*1134*35", modSpecDesc:"2279*1134*35",
processType:39, modSpecValue:"2279*1134*35",
processTypedesc:"单玻组件", processType:39,
processTypeValue:"单玻组件", processTypedesc:"单玻组件",
featureCode:9, processTypeValue:"单玻组件",
featureCodeDesc:"P", featureCode:9,
featureCodeValue:"P", featureCodeDesc:"P",
modWeight:"", featureCodeValue:"P",
fgCode:"", modWeight:"",
createDate:"2022-01-10 23:10:01.890", fgCode:"",
lastUpdate:"2022-01-16 22:24:32.273", createDate:"2022-01-10 23:10:01.890",
lastUpdateuser:"mesadmin", lastUpdate:"2022-01-16 22:24:32.273",
serialCodeRule:"DM405M10-54HSW", lastUpdateuser:"mesadmin",
palletCodeRule:"DM405M10-54HSW-bz", serialCodeRule:"DM405M10-54HSW",
attrs:[ palletCodeRule:"DM405M10-54HSW-bz",
{ attrs:[
id:"7add1e54-d99e-4432-8175-c5afd80ae058", {
attributeId:"Product_GLASS_TYPE", id:"7add1e54-d99e-4432-8175-c5afd80ae058",
attributeDesc:"玻璃类型", attributeId:"Product_GLASS_TYPE",
productCode:"088+089ART-MW", attributeDesc:"玻璃类型",
description:"双玻", productCode:"088+089ART-MW",
code:"双玻", description:"双玻",
createTime:"2023-06-07 14:59:06.800", code:"双玻",
createUser:"" createTime:"2023-06-07 14:59:06.800",
}, createUser:""
{ },
id:"c671f463-5f66-4b99-9083-44fe9293a83e", {
attributeId:"Product_PACK_QTY", id:"c671f463-5f66-4b99-9083-44fe9293a83e",
attributeDesc:"包装数量", attributeId:"Product_PACK_QTY",
productCode:"088+089ART-MW", attributeDesc:"包装数量",
description:"31", productCode:"088+089ART-MW",
code:"31", description:"31",
createTime:"2023-06-07 14:59:06.800", code:"31",
createUser:"" createTime:"2023-06-07 14:59:06.800",
} createUser:""
], }
],
}
} }
} }
``` ```

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

@ -64,8 +64,9 @@ URL: http://localhost:8033/open/ListSupplier
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": [ "data": {
{ list:[
{
supplierCode:"1002210180009192", supplierCode:"1002210180009192",
descriptions:"无锡联晟光伏科技有限公司", descriptions:"无锡联晟光伏科技有限公司",
flag:1, flag:1,
@ -102,8 +103,8 @@ URL: http://localhost:8033/open/ListSupplier
v_flag_frameglue:0, v_flag_frameglue:0,
v_flag_jboxglue:0, v_flag_jboxglue:0,
v_flag_isolatingbar:0, v_flag_isolatingbar:0,
} }]
] }
} }
``` ```

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

@ -1,4 +1,4 @@
### 查询供应商详情(QuerySupplier) ### 查询供应商详情(GetSupplier)
此接口用于查询供应商详情 此接口用于查询供应商详情
@ -8,7 +8,7 @@
方法:POST 方法: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", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data":{ "data":{
supplierCode:"1002210180009192", info:{
supplierCode:"1002210180009192",
descriptions:"无锡联晟光伏科技有限公司", descriptions:"无锡联晟光伏科技有限公司",
flag:1, flag:1,
v_flag_cell:1, v_flag_cell:1,
@ -82,6 +83,7 @@ URL: http://localhost:8033/open/QuerySupplier
v_flag_frameglue:0, v_flag_frameglue:0,
v_flag_jboxglue:0, v_flag_jboxglue:0,
v_flag_isolatingbar:0, v_flag_isolatingbar:0,
}
} }
} }
``` ```

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

@ -81,38 +81,39 @@ attrs字段
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": [ "data": {
{ list:[
materialCode:"CELL001",
materialTypeCode:"CELL",
materialTypeDesc:"电池片",
descriptions:"电池片描述",
flag:1,
createTime:"2023-04-09 18:10:01",
attrs:[
{ {
materialCode:"CELL001", materialCode:"CELL001",
materialTypeCode:"CELL", materialTypeCode:"CELL",
materialTypeDesc:"电池片", materialTypeDesc:"电池片",
attrCode:"crys_type", descriptions:"电池片描述",
attrName:"晶体结构", flag:1,
value:"单晶", createTime:"2023-04-09 18:10:01",
valueCode:"单晶", attrs:[
flag:1 {
}, materialCode:"CELL001",
{ materialTypeCode:"CELL",
materialCode:"CELL001", materialTypeDesc:"电池片",
materialTypeCode:"CELL", attrCode:"crys_type",
materialTypeDesc:"电池片", attrName:"晶体结构",
attrCode:"cell_uop", value:"单晶",
attrName:"单片功率", valueCode:"单晶",
value:"7.82", flag:1
valueCode:"7.82", },
flag:1 {
} materialCode:"CELL001",
], materialTypeCode:"CELL",
materialTypeDesc:"电池片",
attrCode:"cell_uop",
attrName:"单片功率",
value:"7.82",
valueCode:"7.82",
flag:1
}
],
}]
} }
]
} }
``` ```

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

@ -1,6 +1,6 @@
### 列出物料类别(ListMaterialType) ### 列出物料类别(ListMaterialType)
此接口用于获取物料列表,搜索物料 此接口用于列出物料类别列表
--- ---
@ -55,8 +55,8 @@ URL: http://localhost:8033/open/ListMaterialType
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": [ "data": {
{ list:[{
materialTypeCode:"CELL", materialTypeCode:"CELL",
materialTypeDesc:"电池片", materialTypeDesc:"电池片",
unit:"pcs", unit:"pcs",
@ -73,8 +73,8 @@ URL: http://localhost:8033/open/ListMaterialType
ManagerType:"Photovoltaic", ManagerType:"Photovoltaic",
Sort:2, Sort:2,
ErpCode:"", ErpCode:"",
} }]
] }
} }
``` ```

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

@ -1,4 +1,4 @@
### 查询物料详情(QueryMaterial) ### 查询物料详情(GetMaterial)
此接口用于查询物料详情 此接口用于查询物料详情
@ -8,7 +8,7 @@
方法:POST 方法: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", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": { "data": {
materialCode:"CELL001", info:{
materialTypeCode:"CELL", materialCode:"CELL001",
materialTypeDesc:"电池片", materialTypeCode:"CELL",
descriptions:"电池片描述", materialTypeDesc:"电池片",
flag:1, descriptions:"电池片描述",
createTime:"2023-04-09 18:10:01", flag:1,
attrs:[ createTime:"2023-04-09 18:10:01",
{ attrs:[
materialCode:"CELL001", {
materialTypeCode:"CELL", materialCode:"CELL001",
materialTypeDesc:"电池片", materialTypeCode:"CELL",
attrCode:"crys_type", materialTypeDesc:"电池片",
attrName:"晶体结构", attrCode:"crys_type",
value:"单晶", attrName:"晶体结构",
valueCode:"单晶", value:"单晶",
flag:1 valueCode:"单晶",
}, flag:1
{ },
materialCode:"CELL001", {
materialTypeCode:"CELL", materialCode:"CELL001",
materialTypeDesc:"电池片", materialTypeCode:"CELL",
attrCode:"cell_uop", materialTypeDesc:"电池片",
attrName:"单片功率", attrCode:"cell_uop",
value:"7.82", attrName:"单片功率",
valueCode:"7.82", value:"7.82",
flag:1 valueCode:"7.82",
} flag:1
], }
],
}
} }
} }
``` ```

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

@ -54,15 +54,15 @@ URL: http://localhost:8033/open/ListDfFamilys
{ {
"clock": "2023-06-25 20:00:00.000", "clock": "2023-06-25 20:00:00.000",
"status": "ok", "status": "ok",
"data": [ "data": {
{ list:[{
familyCode: "AG-HD108N-415", familyCode: "AG-HD108N-415",
descriptions: "AG-HD108N-415", descriptions: "AG-HD108N-415",
aliasName: "mesadmin", aliasName: "mesadmin",
flag: 1, flag: 1,
createTime: "2022-01-10 23:10:01.890" createTime: "2022-01-10 23:10:01.890"
} }]
] }
} }
``` ```

Loading…
Cancel
Save