yangys
2025-08-06 d36af1e4c9f7601b97dac825744a0df2b809f0b9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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) {
        //固化程序检查有效期,工序版次是否一致的检查,完全根据程序包名进行检查即可
        //TODO
        String hasCuredProgram =  (String)execution.getVariable("hasCuredProgram");
        NcProgram ncProgram =  (NcProgram)execution.getVariable("curedNcProgram");
 
        System.out.println("执行固化程序任务服务");
    }
}