/// <summary> /// 生成待办任务 /// </summary> /// <param name="notifyfeedback"></param> private void CreateNotifyTask(T_OA_REQUIREDISTRIBUTE distribute) { EngineWcfGlobalFunctionClient engClient = new EngineWcfGlobalFunctionClient(); CustomUserMsg[] cust = new CustomUserMsg[1]; cust[0] = new CustomUserMsg() { FormID = distribute.REQUIREDISTRIBUTEID, UserID = distribute.OWNERID }; string strXmlObjectSource = string.Empty; strXmlObjectSource = ObjListToXml <T_OA_REQUIREDISTRIBUTE>(distribute, "OA"); engClient.ApplicationMsgTrigger(cust, "OA", "T_OA_REQUIREDISTRIBUTE", strXmlObjectSource, MsgType.Task); }
/// <summary> /// 生成待办任务 /// </summary> private void CreateNotifyTask(T_OA_DISTRIBUTEUSER notifyfeedback) { EngineWcfGlobalFunctionClient engClient = new EngineWcfGlobalFunctionClient(); CustomUserMsg[] cust = new CustomUserMsg[1]; cust[0] = new CustomUserMsg() { FormID = notifyfeedback.DISTRIBUTEUSERID, UserID = notifyfeedback.OWNERID }; string strXmlObjectSource = string.Empty; strXmlObjectSource = ObjListToXml <T_OA_DISTRIBUTEUSER>(notifyfeedback, "OA"); engClient.ApplicationMsgTrigger(cust, "OA", "T_OA_DISTRIBUTEUSER", strXmlObjectSource, MsgType.Task); }