fix:任务拆解

This commit is contained in:
2026-07-15 14:59:05 +08:00
parent a066ec3637
commit 90c4a9e8e9
16 changed files with 206 additions and 9 deletions

View File

@@ -32,6 +32,10 @@
<artifactId>nl-module-lms-api</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>cn.nl.cloud</groupId>
<artifactId>nl-spring-boot-starter-execute</artifactId>
</dependency>
<!-- 业务组件 -->
<dependency>

View File

@@ -0,0 +1,25 @@
package cn.code.nl.module.lms;
import cn.code.nl.framework.execute.core.AbstractTask;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
/**
* 案例代码
* @Author: liyongde
* @Date: 2026/7/15 14:30
*/
@Slf4j
@Component
public class DemoTask extends AbstractTask {
@Override
public void doHandleFinish(Long taskId) {
}
@Override
public void doHandleCancel(Long taskId) {
}
}