add:新增数字孪生大屏相关接口。
This commit is contained in:
@@ -103,7 +103,7 @@ public class CockpitServiceImpl implements CockpitService {
|
|||||||
}, pool);
|
}, pool);
|
||||||
//暂存库库存结构
|
//暂存库库存结构
|
||||||
JSONObject zc_storage_info = new JSONObject();
|
JSONObject zc_storage_info = new JSONObject();
|
||||||
JSONArray material_info = new JSONArray();
|
JSONArray material_info;
|
||||||
material_info=cockpitMapper.getZcMaterialmsg();
|
material_info=cockpitMapper.getZcMaterialmsg();
|
||||||
//库位使用占比
|
//库位使用占比
|
||||||
String percent=cockpitMapper.percent();
|
String percent=cockpitMapper.percent();
|
||||||
@@ -454,8 +454,6 @@ public class CockpitServiceImpl implements CockpitService {
|
|||||||
jsonObject.put("one", "3");
|
jsonObject.put("one", "3");
|
||||||
jsonObject.put("two", "4");
|
jsonObject.put("two", "4");
|
||||||
array.add(jsonObject);
|
array.add(jsonObject);
|
||||||
// 此处为故意制造异常
|
|
||||||
Integer sd = 5 / 0;
|
|
||||||
jsonObject.put("one", "6");
|
jsonObject.put("one", "6");
|
||||||
jsonObject.put("two", "7");
|
jsonObject.put("two", "7");
|
||||||
array.add(jsonObject);
|
array.add(jsonObject);
|
||||||
|
|||||||
Reference in New Issue
Block a user