Переглянути джерело

【反馈编号:2024090142】【功能完善】【设计变更评审单流程中审批无效调整】

DINGYL 1 тиждень тому
батько
коміт
2cb04af178

+ 1 - 1
src/com/uas/erp/service/pm/impl/PmAfterEventListener.java

@@ -33,7 +33,7 @@ public class PmAfterEventListener implements EventListener {
 	public void notify(EventListenerExecution execution) throws Exception {
 		String processInstanceId = execution.getProcessInstance().getId();
 		String nodeName = processDao.getJProcesses(processInstanceId).get(0).getJp_nodeName();
-		if (execution.getIsProcessInstance() && execution.isEnded()) {
+		if (execution.getIsProcessInstance()) {
 			String caller = (String) execution.getVariable("caller");
 			int keyValue = Integer.parseInt(execution.getVariable("id").toString());
 			JNode jnode = processDao.getJNodeBy(processInstanceId, nodeName);