src/main/java/com/zy/asrs/utils/NotifyUtils.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/zy/asrs/utils/NotifyUtils.java
@@ -69,6 +69,16 @@ } private boolean append(String notifyType, Integer device, String taskNo, String superTaskNo, NotifyMsgType msgType, String data) { boolean notifyEnable = true; Config notifyEnableConfig = configService.selectOne(new EntityWrapper<Config>().eq("code", "notifyEnable")); if (notifyEnableConfig != null) { notifyEnable = notifyEnableConfig.getValue().equals("Y"); } if (!notifyEnable) { return false; } String key = getKey(notifyType, device); if (key == null) { return false;