change - 前端更改蒸汽曲线为显示蒸汽整点数据,图表显示仪表值instrumentValue,后端增加其接口

master
zch 9 months ago
parent 913895ce4e
commit a8daf0d336

@ -146,6 +146,7 @@ public class EmsBaseMonitorInfoServiceImpl implements IEmsBaseMonitorInfoService
for (EmsBaseMonitorInfo baseMonitorInfo : baseMonitorInfos) for (EmsBaseMonitorInfo baseMonitorInfo : baseMonitorInfos)
{ {
// 如果是顶级节点, 遍历该父节点的所有子节点 // 如果是顶级节点, 遍历该父节点的所有子节点
// 顶级节点的父节点是0tesmplist没有0因为objid是从1开始自增主键
if (!tempList.contains(baseMonitorInfo.getParentId())) if (!tempList.contains(baseMonitorInfo.getParentId()))
{ {
recursionFn(baseMonitorInfos, baseMonitorInfo); recursionFn(baseMonitorInfos, baseMonitorInfo);

@ -97,4 +97,14 @@ public class EmsReportPointSteamController extends BaseController {
public AjaxResult remove(@PathVariable Long[] objIds) { public AjaxResult remove(@PathVariable Long[] objIds) {
return toAjax(emsReportPointSteamService.deleteEmsReportPointSteamByObjIds(objIds)); return toAjax(emsReportPointSteamService.deleteEmsReportPointSteamByObjIds(objIds));
} }
/**
* 线
*/
@PreAuthorize("@ss.hasPermi('ems/report:reportPointSteam:list')")
@GetMapping("/pointSteamInstantList")
public AjaxResult pointSteamInstantList(EmsReportPointSteam emsReportPointSteam) {
return success(emsReportPointSteamService.selectEmsReportPointSteamList(emsReportPointSteam));
}
} }

Loading…
Cancel
Save