From 8ac39f2f962329f30ee61ee8a7abe6d6b5940dd5 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 01 七月 2021 13:45:11 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/CJL-LC' into wxr4 --- HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs | 26 +++----------------------- 1 files changed, 3 insertions(+), 23 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs index 0d9542d..b234906 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs @@ -4,33 +4,11 @@ using HDL_ON.DAL.Server; using Newtonsoft.Json.Linq; using System.Collections.Generic; -using HDL_ON.Entity; namespace HDL_ON.UI.UI2.Intelligence.Automation { public class Send { - - /// <summary> - /// 璋冪敤鑾峰彇浣忓畢瀛愯处鍙峰垪琛� - /// </summary> - public static List<ResidenceMemberInfo> GetResidenceMemberAccount() - { - - var responePack = new HttpServerRequest().GetResidenceMemberAccount(); - if (responePack.Code == StateCode.SUCCESS) - { - return Newtonsoft.Json.JsonConvert.DeserializeObject<List<ResidenceMemberInfo>>(responePack.Data.ToString()); - } - //澶辫触 - else - { - //鎻愮ず - IMessageCommon.Current.ShowErrorInfoAlter(responePack.Code); - } - return new List<ResidenceMemberInfo>(); - } - /// <summary> /// 鑾峰彇閫昏緫ID鍒楄〃 /// </summary> @@ -211,6 +189,7 @@ conditionJOb.Add("key", dic["key"]); var c1 = ""; dic.TryGetValue("comparator", out c1); + c1 = string.IsNullOrEmpty(c1) ? "" : c1; conditionJOb.TryAdd("comparator", c1); conditionJOb.Add("data_type", dic["data_type"]); conditionJOb.Add("value", dic["value"]); @@ -244,7 +223,8 @@ var pushConfigsArray = new JArray { }; if (logic.pushConfigs.Count > 0) - { //聽鎺ㄩ�佹枃鏈� + { + //聽鎺ㄩ�佹枃鏈� foreach (var pushConfig in logic.pushConfigs) { -- Gitblit v1.8.0