public commonResult ReceiveDone(OAMessageVM p) { if (p == null || string.IsNullOrWhiteSpace(p.syscode) || string.IsNullOrWhiteSpace(p.flowid) || string.IsNullOrWhiteSpace(p.nodename) || string.IsNullOrWhiteSpace(p.receiver)) { return(commonResult.NullParameter()); } string res = OAMessageBuilder.ReceiveDone(p.syscode, p.flowid, p.nodename, p.receiver); return(commonResult.Success(res)); }
public void TestDone() { string flowid = "f06c7113-ef64-4983-be56-4ade5160a629"; string receiver = "yangxiaogang"; string flowtitle = "测试发送待办1"; string workflowname = "收集任务填报"; string nodename1 = "填报"; string nodename2 = "审批"; OAMessageBuilder.ReceiveDone(flowid, flowtitle, nodename2, receiver, "", ""); }