#
Junjie
8 天以前 46755eb8202cc463e234eda1daa0481b8e462293
#
1个文件已修改
10 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/utils/NotifyUtils.java 10 ●●●●● 补丁 | 查看 | 原始文档 | 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;