|
@@ -283,10 +283,10 @@ public class MonitorBusiness {
|
283
|
excepLog.setSixLast(record.getIsSix());
|
283
|
excepLog.setSixLast(record.getIsSix());
|
284
|
excepLog.setLoseData(record.getIsLose());
|
284
|
excepLog.setLoseData(record.getIsLose());
|
285
|
excepLogService.save(excepLog);
|
285
|
excepLogService.save(excepLog);
|
286
|
- if (record.getIsLose()!=null && !record.getIsLose().equals("1")){
|
|
|
|
|
286
|
+ if (record.getIsLose()!=null && record.getIsLose().equals("1")){
|
287
|
addExcepLog(record.getFactor(), "1",record.getMn());
|
287
|
addExcepLog(record.getFactor(), "1",record.getMn());
|
288
|
}
|
288
|
}
|
289
|
- if (record.getIsSix()!=null && !record.getIsSix().equals("1")){
|
|
|
|
|
289
|
+ if (record.getIsSix()!=null && record.getIsSix().equals("1")){
|
290
|
addExcepLog(record.getFactor(), "2",record.getMn());
|
290
|
addExcepLog(record.getFactor(), "2",record.getMn());
|
291
|
}
|
291
|
}
|
292
|
// 小时均值超限
|
292
|
// 小时均值超限
|
|
@@ -337,10 +337,10 @@ public class MonitorBusiness {
|
337
|
excepLog.setSixLast(record.getIsSix());
|
337
|
excepLog.setSixLast(record.getIsSix());
|
338
|
excepLog.setLoseData(record.getIsLose());
|
338
|
excepLog.setLoseData(record.getIsLose());
|
339
|
excepLogService.save(excepLog);
|
339
|
excepLogService.save(excepLog);
|
340
|
- if (record.getIsLose()!=null && !record.getIsLose().equals("1")){
|
|
|
|
|
340
|
+ if (record.getIsLose()!=null && record.getIsLose().equals("1")){
|
341
|
addExcepLog(record.getFactor(), "1",record.getMn());
|
341
|
addExcepLog(record.getFactor(), "1",record.getMn());
|
342
|
}
|
342
|
}
|
343
|
- if (record.getIsSix()!=null && !record.getIsSix().equals("1")){
|
|
|
|
|
343
|
+ if (record.getIsSix()!=null && record.getIsSix().equals("1")){
|
344
|
addExcepLog(record.getFactor(), "2",record.getMn());
|
344
|
addExcepLog(record.getFactor(), "2",record.getMn());
|
345
|
}
|
345
|
}
|
346
|
// 小时均值超限
|
346
|
// 小时均值超限
|