Ver Fonte

设备子系统———优化下公共删除提醒消息方法

zhoudazhuang há 1 ano atrás
pai
commit
599c81ad1f

+ 3 - 1
bs-common/src/main/java/com/rongwei/safecommon/utils/CXCommonUtils.java

@@ -220,7 +220,9 @@ public class CXCommonUtils {
     public static void deleteSendNotify(String notifyType, String roption){
         JSONArray data = JSONUtil.parseArray(commonFeginClient.list(new HashMap<String, Object>() {{
             this.put("NOTIFYTYPE", notifyType);
-            this.put("ROPTION", roption);
+            if (roption!=null){
+                this.put("ROPTION", roption);
+            }
         }}).getData());
 
         if (!data.isEmpty()) {