1111
This commit is contained in:
parent
0d878edfe9
commit
889909031c
|
@ -11,7 +11,7 @@ import org.springframework.stereotype.Service;
|
|||
* @date 2021/1/12 19:13
|
||||
*/
|
||||
@Service("purApplayCheckFlowListener")
|
||||
public class purchaseApplayCheckFlowListener extends AbstractExecutionListener<PurchaseOrderForm> {
|
||||
public class PurchaseApplayCheckFlowListener extends AbstractExecutionListener<PurchaseOrderForm> {
|
||||
@Override
|
||||
protected void process() {
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
package com.snow.flowable.listener.purchaseOrder;
|
||||
|
||||
import com.snow.flowable.common.enums.FlowDefEnum;
|
||||
import com.snow.flowable.common.skipTask.AbstractSkipTask;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.flowable.task.api.Task;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class PurchaseAutoApprovalTask extends AbstractSkipTask {
|
||||
|
||||
|
||||
@Override
|
||||
public boolean canSkip(Task task) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getProcessDefinitionKey() {
|
||||
return FlowDefEnum.PURCHASE_ORDER_PROCESS.getCode();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected List<String> getTaskKeys() {
|
||||
return null;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue