yangys
2025-06-17 b0449f9ed437831018030d57b98a55e1dd43a6ef
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.springblade.mdm.flow.task.dispatch;
 
import lombok.extern.slf4j.Slf4j;
import org.flowable.engine.delegate.DelegateExecution;
import org.springblade.mdm.program.entity.NcProgram;
import org.springframework.stereotype.Component;
 
@Slf4j
@Component("cureProgramCheckTask")
public class CureProgramCheckTask {
 
    public void execute(DelegateExecution execution) {
        //固化程序检查有效期,
        String hasCuredProgram =  (String)execution.getVariable("hasCuredProgram");
        NcProgram ncProgram =  (NcProgram)execution.getVariable("curedNcProgram");
 
        System.out.println("执行固化程序任务服务");
    }
}