add:新增数字孪生大屏相关接口。

This commit is contained in:
2024-09-10 13:54:04 +08:00
parent 7404c6499f
commit faf5bf05f3

View File

@@ -103,7 +103,7 @@ public class CockpitServiceImpl implements CockpitService {
}, pool);
//暂存库库存结构
JSONObject zc_storage_info = new JSONObject();
JSONArray material_info = new JSONArray();
JSONArray material_info;
material_info=cockpitMapper.getZcMaterialmsg();
//库位使用占比
String percent=cockpitMapper.percent();
@@ -454,8 +454,6 @@ public class CockpitServiceImpl implements CockpitService {
jsonObject.put("one", "3");
jsonObject.put("two", "4");
array.add(jsonObject);
// 此处为故意制造异常
Integer sd = 5 / 0;
jsonObject.put("one", "6");
jsonObject.put("two", "7");
array.add(jsonObject);