屏蔽异常
This commit is contained in:
parent
042dbfcecf
commit
fa231d9d44
|
@ -48,7 +48,7 @@ public class DeviceOptLogServiceImpl extends ServiceImpl<DeviceOptLogDao, Device
|
|||
deviceOptLog.setGasStation(deviceVO.getGasStation());
|
||||
String content = "";
|
||||
if ("device".equalsIgnoreCase(source)) {
|
||||
content = isOpen == 1 ? "检测到气井开启" : "检测到气井关闭";
|
||||
content = isOpen == null ? "" : isOpen == 1 ? "检测到气井开启" : "检测到气井关闭";
|
||||
deviceOptLog.setUsername("系统");
|
||||
deviceOptLog.setName("系统");
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue