|
@@ -195,7 +195,6 @@ public class FlowInstanceServiceImpl extends BaseServiceImpl<FlowInstanceDao, Fl
|
|
|
public void reject(String instanceId) {
|
|
|
FormInfo form = flowInstanceService.getForm(instanceId);
|
|
|
String fromName = form.getFlowDefine().getName();
|
|
|
- String name = form.getFormName();
|
|
|
|
|
|
ProcessInstance processInstance = runtimeService.createProcessInstanceQuery()
|
|
|
.processInstanceId(instanceId)
|
|
@@ -212,7 +211,7 @@ public class FlowInstanceServiceImpl extends BaseServiceImpl<FlowInstanceDao, Fl
|
|
|
notify.setSubject("申请拒绝");
|
|
|
|
|
|
// notify.setContent(String.format("您申请的流程《%s》已拒绝", processInstance.getName()));
|
|
|
- notify.setContent(name + "-" + "已完结");
|
|
|
+ notify.setContent(fromName + "-" + "已完结");
|
|
|
|
|
|
|
|
|
notify.setSubject("申请拒绝" + "-" + fromName);
|