|
|
|
@ -83,11 +83,20 @@ public class T_MonitorServiceImpl implements IT_MonitorService
|
|
|
|
|
TSetmonitorthresholdvalue tSetmonitorthresholdvalue = new TSetmonitorthresholdvalue();
|
|
|
|
|
tSetmonitorthresholdvalue.setMonitorId(t_Monitor.getMonitorId());
|
|
|
|
|
tSetmonitorthresholdvalue.setMonitorType(16);
|
|
|
|
|
try {
|
|
|
|
|
TSetmonitorthresholdvalue setmonitorthresholdvalue = new TSetmonitorthresholdvalue();
|
|
|
|
|
setmonitorthresholdvalue.setMonitorId(t_Monitor.getMonitorId());
|
|
|
|
|
List<TSetmonitorthresholdvalue> tSetmonitorthresholdvalueList = tSetmonitorthresholdvalueService.selectTSetmonitorthresholdvalueList(setmonitorthresholdvalue);
|
|
|
|
|
if (tSetmonitorthresholdvalueList.size() == 0){
|
|
|
|
|
tSetmonitorthresholdvalueService.insertTSetmonitorthresholdvalue(tSetmonitorthresholdvalue);
|
|
|
|
|
}
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
return t_MonitorMapper.insertT_Monitor(t_Monitor);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|