bug修改
This commit is contained in:
@@ -302,6 +302,8 @@ public class TerminalBaseServiceImpl extends ServiceImpl<LineMapper, Line> imple
|
|||||||
processCountMap.put(processNum, processCount);
|
processCountMap.put(processNum, processCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}else{
|
||||||
|
processCountMap = new HashMap<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
//获取数量最少的线程号
|
//获取数量最少的线程号
|
||||||
@@ -1532,7 +1534,9 @@ public class TerminalBaseServiceImpl extends ServiceImpl<LineMapper, Line> imple
|
|||||||
LambdaQueryWrapper<DeptLine> lineLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<DeptLine> lineLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
lineLambdaQueryWrapper.in(DeptLine::getLineId, lineIndexList);
|
lineLambdaQueryWrapper.in(DeptLine::getLineId, lineIndexList);
|
||||||
deptLineMapper.delete(lineLambdaQueryWrapper);
|
deptLineMapper.delete(lineLambdaQueryWrapper);
|
||||||
|
//通知前置删除监测点
|
||||||
|
String[] split = obj.getPids().split(",");
|
||||||
|
this.askRestartDevice(split[4],DeviceRebootType.LEDGER_MODIFY);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1542,6 +1546,7 @@ public class TerminalBaseServiceImpl extends ServiceImpl<LineMapper, Line> imple
|
|||||||
lineDetailMapper.deleteById(obj.getId());
|
lineDetailMapper.deleteById(obj.getId());
|
||||||
overlimitMapper.deleteById(obj.getId());
|
overlimitMapper.deleteById(obj.getId());
|
||||||
deptLineMapper.deleteById(obj.getId());
|
deptLineMapper.deleteById(obj.getId());
|
||||||
|
//通知前置删除监测点
|
||||||
String[] split = obj.getPids().split(",");
|
String[] split = obj.getPids().split(",");
|
||||||
this.askRestartDevice(split[4],DeviceRebootType.LEDGER_MODIFY);
|
this.askRestartDevice(split[4],DeviceRebootType.LEDGER_MODIFY);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user