opt:优化验箱接口代码
This commit is contained in:
@@ -1018,10 +1018,20 @@ public class LmsToMesServiceImpl implements LmsToMesService {
|
||||
row1.put("DataCollectionDefId","001c61800000004f");
|
||||
row1.put("DataCollectionDefName","PACKAGE");
|
||||
rows.add(row1);
|
||||
row1.put("DataPointName","信息核对准确");
|
||||
rows.add(row1);
|
||||
row1.put("DataPointName","木箱是否防护");
|
||||
rows.add(row1);
|
||||
JSONObject row2 = new JSONObject();
|
||||
row2.put("DataPointName","信息核对准确");
|
||||
row2.put("DataType","7");
|
||||
row2.put("DataValue","true");
|
||||
row2.put("DataCollectionDefId","001c61800000004f");
|
||||
row2.put("DataCollectionDefName","PACKAGE");
|
||||
rows.add(row2);
|
||||
JSONObject row3 = new JSONObject();
|
||||
row3.put("DataPointName","木箱是否防护");
|
||||
row3.put("DataType","7");
|
||||
row3.put("DataValue","true");
|
||||
row3.put("DataCollectionDefId","001c61800000004f");
|
||||
row3.put("DataCollectionDefName","PACKAGE");
|
||||
rows.add(row3);
|
||||
param.put("DataPoints", rows);
|
||||
log.info("BoxDataCollectionSubmit2接口请求参数为:-------------------" + param.toString());
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user