|
|
@ -59,18 +59,6 @@ namespace BWP.B3WeChat.Rpcs |
|
|
#endif
|
|
|
#endif
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static void DelMessagesByBusiness(ApproveMessage message) |
|
|
|
|
|
{ |
|
|
|
|
|
if (string.IsNullOrEmpty(message.BusinessNo)) |
|
|
|
|
|
{ |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
var del = new DQDeleteDom(typeof(ApproveMessage)); |
|
|
|
|
|
del.Where.Conditions.Add(DQCondition.EQ("CustomerCode", message.CustomerCode)); |
|
|
|
|
|
del.Where.Conditions.Add(DQCondition.EQ("BusinessNo", message.BusinessNo)); |
|
|
|
|
|
del.EExecute(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Rpc] |
|
|
[Rpc] |
|
|
public static Dictionary<string, short> QueryApproveResult(string[] messageIDList) |
|
|
public static Dictionary<string, short> QueryApproveResult(string[] messageIDList) |
|
|
@ -115,8 +103,6 @@ namespace BWP.B3WeChat.Rpcs |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
SendMessageUtil.SendFeedbackNotice(message.OpenID, "你好,你的审批结果ERP系统已收到并处理", "微信审批接收", "消息号" + message.ID, message.CreateTime, true); |
|
|
SendMessageUtil.SendFeedbackNotice(message.OpenID, "你好,你的审批结果ERP系统已收到并处理", "微信审批接收", "消息号" + message.ID, message.CreateTime, true); |
|
|
bl.Delete(messageID); |
|
|
|
|
|
DelMessagesByBusiness(message); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[Rpc] |
|
|
[Rpc] |
|
|
@ -127,8 +113,6 @@ namespace BWP.B3WeChat.Rpcs |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
SendMessageUtil.SendFeedbackNotice(message.OpenID, "你好,你的审批结果ERP系统已收到并处理", "微信审批接收", "消息号" + message.ID, message.CreateTime, false, reason); |
|
|
SendMessageUtil.SendFeedbackNotice(message.OpenID, "你好,你的审批结果ERP系统已收到并处理", "微信审批接收", "消息号" + message.ID, message.CreateTime, false, reason); |
|
|
bl.Delete(messageID); |
|
|
|
|
|
DelMessagesByBusiness(message); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |