|
@@ -30,7 +30,8 @@ namespace Learun.Application.WorkFlow |
|
|
private MessageRindIBLL messageRindIBLL = new MessageRindBLL(); |
|
|
private MessageRindIBLL messageRindIBLL = new MessageRindBLL(); |
|
|
public void Execute(WfMethodParameter parameter) |
|
|
public void Execute(WfMethodParameter parameter) |
|
|
{ |
|
|
{ |
|
|
if (parameter.code == "agree") |
|
|
|
|
|
|
|
|
//撤销code=1 发起直接通过是 create |
|
|
|
|
|
if (parameter.code == "agree" || parameter.code == "create") |
|
|
{ |
|
|
{ |
|
|
newsIBLL.ChangeStatusByProcessId(parameter.processId, 2); |
|
|
newsIBLL.ChangeStatusByProcessId(parameter.processId, 2); |
|
|
var entity = noticeIBLL.GetEntityByProcessId(parameter.processId); |
|
|
var entity = noticeIBLL.GetEntityByProcessId(parameter.processId); |
|
@@ -57,7 +58,14 @@ namespace Learun.Application.WorkFlow |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
newsIBLL.ChangeStatusByProcessId(parameter.processId, 0); |
|
|
|
|
|
|
|
|
if (parameter.code == "disagree") |
|
|
|
|
|
{ |
|
|
|
|
|
newsIBLL.ChangeStatusByProcessId(parameter.processId, 0); |
|
|
|
|
|
} |
|
|
|
|
|
if (parameter.code == "1") |
|
|
|
|
|
{ |
|
|
|
|
|
newsIBLL.ChangeStatusByProcessId(parameter.processId, 0); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|