Commit 7d773f3a authored by chenfm's avatar chenfm

修改模型数据表前缀

parent 2054574e
......@@ -38,7 +38,7 @@ public class DashboardServiceImpl implements DashboardService {
List<ModelDataVO> modelDataVOList = new ArrayList<>();
for (DashboardReq dashboardReq : dashboardReqList) {
Long modelId = dashboardReq.getModelId();
String tableName = "iot_model_" + modelId;
String tableName = "iot_data_model_" + modelId;
String sql = "select time"
+ getSqlParams(dashboardReq.getPropertyCodeList(), false)
+ " from "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment