add:自动送子卷任务,自动套轴任务,自动拔轴未提交的代码

This commit is contained in:
ls
2026-08-25 14:50:25 +08:00
parent 73b5a86cc0
commit 6d20b34023
24 changed files with 1418 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
package cn.code.nl.module.system.job.slitter;
import cn.code.nl.framework.tenant.core.job.TenantJob;
import cn.code.nl.module.lms.api.AutoCallAirShaftApi;
import com.xxl.job.core.handler.annotation.XxlJob;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Component;
/**
* C、D 点子卷自动搬运至 E 点任务
*/
@Component
public class AutoCallAirShaftToDeviceTask {
/** 自动子卷搬运 RPC */
@Resource
private AutoCallAirShaftApi autoCallAirShaftApi;
/**
* 执行 C、D 到 E 自动搬运调度,优先处理 C 点子卷
*/
@XxlJob("autoCallAirShaftToDeviceTask")
@TenantJob
public void execute() {
autoCallAirShaftApi.executeAutoCallAirShaftToDevice().getCheckedData();
}
}

View File

@@ -0,0 +1,26 @@
package cn.code.nl.module.system.job.slitter;
import cn.code.nl.framework.tenant.core.job.TenantJob;
import cn.code.nl.module.lms.api.AutoCallAirShaftApi;
import com.xxl.job.core.handler.annotation.XxlJob;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Component;
/**
* 自动套轴定时任务。
*/
@Component
public class AutoSleeveScheduledTask {
@Resource
private AutoCallAirShaftApi autoCallAirShaftApi;
/**
* 轮询管芯缓存位并创建管芯、气涨轴配套搬运任务。
*/
@XxlJob("autoSleeveScheduledTask")
@TenantJob
public void execute() {
autoCallAirShaftApi.executeAutoSleeve().getCheckedData();
}
}