This commit is contained in:
xy
2024-06-19 08:58:24 +08:00
parent 9a9af5db5d
commit 4f590d58ce

View File

@@ -136,7 +136,7 @@ public class LineWarningServiceImpl extends MppServiceImpl<LineWarningMapper, Li
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public void startReport(OnlineParam.ReportParam param) { public void startReport(OnlineParam.ReportParam param) {
//下发预告警单 //下发预告警单
warningLeafletService.createLeaflet(ProblemTypeEnum.ONLINE.getName(), IdUtil.fastSimpleUUID(), param.getId(), ProblemTypeEnum.ONLINE.getCode(),param.getType(),param.getIssueDetail()); warningLeafletService.createLeaflet(ProblemTypeEnum.ONLINE.getName(), "",IdUtil.fastSimpleUUID(), param.getId(), ProblemTypeEnum.ONLINE.getCode(),param.getType(),param.getIssueDetail());
//更新supervision_line_warning表字段信 //更新supervision_line_warning表字段信
LineWarning lineWarning = this.baseMapper.selectById(param.getId()); LineWarning lineWarning = this.baseMapper.selectById(param.getId());
if (lineWarning.getThresholdResource() == 0) { if (lineWarning.getThresholdResource() == 0) {