田源
2024-03-07 4b4083fd73dc27ece42f4835483565eef0e4f608
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.vci.server.workflow.server.event;
 
import org.jbpm.api.listener.EventListener;
import org.jbpm.api.listener.EventListenerExecution;
 
import com.vci.server.base.persistence.history.OperationType;
 
public class RmEnableListener extends BaseRmStatusListener implements EventListener {
 
    /**
     * 启用
     */
    private static final long serialVersionUID = 1L;
 
    public void notify(EventListenerExecution eventListenerExecution) throws Exception {
//        restoreStatus(eventListenerExecution);//先恢复到初始状态
        doAction(eventListenerExecution, "PLSTATUS", "3",OperationType.UPDATE.toString());//回到生效状态
        doAction(eventListenerExecution, "PLISFREEZE", "0",OperationType.UNFREEZE.toString());//未冻结状态
//        new OAListenerENDCommon().notifyOA(eventListenerExecution); 
    }
}