Exemplo n.º 1
0
        /// <summary>
        /// 发送待办(根据生成的待办提醒消息不能自定义-新增)
        /// </summary>
        /// <param name="UserAndForm">用户ID和FORMID</param>
        /// <param name="SystemCode">系统代码</param>
        /// <param name="ModelCode">模块代码</param>
        /// <param name="strXml">将业务数据XM</param>
        /// <param name="msgType">消息类型: Msg消息  ; Task代办任务; Cancel撤消 </param>
        /// <param name="messageBody">用户自定义的消息实体,由业务系统确定,不再用数据库表的默认消息</param>
        public void ApplicationMsgTriggerCustom(List <CustomUserMsg> UserAndForm, string SystemCode, string ModelCode, string strXml, MsgType msgType, string messageBody)
        {
            string ss = "";

            foreach (CustomUserMsg list in UserAndForm)
            {
                ss += "FormID:" + list.FormID + "UserID:" + list.UserID;
            }
            Record.WriteLogFunction("ApplicationMsgTriggerCustom()UserAndForm:" + ss + "SystemCode:" + SystemCode + "ModelCode:" + ModelCode + "strXml:" + strXml + "msgType:" + msgType.ToString() + "");
            EngineServicesBLL bll = new EngineServicesBLL();

            bll.ApplicationMsgTriggerCustom(UserAndForm, SystemCode, ModelCode, strXml, msgType, messageBody);
        }