| | |
| | | a.HCheckDate AS 审核日期, a.HUpDater AS 修改人, a.HUpDateDate AS 修改日期, a.HCloseMan AS 关闭人, |
| | | a.HCloseDate AS 关闭日期, a.HDeleteMan AS 作废人, a.HDeleteDate AS 作废日期, a.HBillType |
| | | from OA_WorkLinkBillMain a where HInterID = {HInterID} |
| | | select * from Gy_UserClientIdRelation |
| | | select * from Gy_UserClientIdRelation where HOnline = 1 |
| | | ", "OA_WorkLinkBillMain"); |
| | | NotificationTemplate template = null; |
| | | ConcurrentDictionary<string, List<string>> userClientIDDictionary = new ConcurrentDictionary<string, List<string>>(); |
| | |
| | | { |
| | | // 获取接收人和抄送人数组 |
| | | string HReceiveMan = ds.Tables[0].Rows[0]["接收人"].ToString(); |
| | | string[] HCopyManList = ds.Tables[0].Rows[0]["抄送人"].ToString().Split(','); |
| | | string[] HCopyManList = ds.Tables[0].Rows[0]["所有抄送人"].ToString().Split(','); |
| | | // 推送给接收人 和 抄送人 |
| | | |
| | | List<string> clientIDList = new List<string>(); |
| | |
| | | clientIDList.AddRange(userClientIDDictionary[HCopyMan]); |
| | | } |
| | | } |
| | | |
| | | foreach(string clientID in clientIDList) |
| | | { |
| | | pushSuccess = PushMessageToSingle(template, clientID); |
| | |
| | | LogService.Write("-----------------------------------------------"); |
| | | LogService.Write("-----------------------------------------------"); |
| | | LogService.Write("----------------服务端返回结果:" + pushResult); |
| | | |
| | | //TODO: 当错误信息显示设备离线时,将当前设备UUID绑定的用户登录状态配置为未登录 |
| | | |
| | | return false; |
| | | } |
| | | } |