Browse Source

优化

platform-api
blankk 2 years ago
parent
commit
044f0e325e
  1. 6
      ruoyi-code/src/main/java/com/ruoyi/code/camera/service/impl/WaterPhotoInfoServiceImpl.java

6
ruoyi-code/src/main/java/com/ruoyi/code/camera/service/impl/WaterPhotoInfoServiceImpl.java

@ -58,12 +58,6 @@ public class WaterPhotoInfoServiceImpl extends ServiceImpl<WaterPhotoInfoMapper,
List<String> legend = new ArrayList<>(); List<String> legend = new ArrayList<>();
List<ChartData> series = new ArrayList<>(); List<ChartData> series = new ArrayList<>();
String startTime = (String)params.get("startTime");
String endTime = (String)params.get("endTime");
if(!startTime.contains("-")){
params.put("startTime",formatDate(new Long(startTime)));
params.put("endTime",formatDate(new Long(endTime)));
}
// 获取表名 // 获取表名
Integer dataType = Integer.parseInt((String) params.get("dataType")); Integer dataType = Integer.parseInt((String) params.get("dataType"));
String dataTableName = getDataTableName(dataType); String dataTableName = getDataTableName(dataType);

Loading…
Cancel
Save