opt:1.管理后台系统优化国际化。2.添加巡航模式任务接口。

This commit is contained in:
2026-03-03 19:46:06 +08:00
parent 4247b41831
commit 65c6d41e4b
31 changed files with 545 additions and 17 deletions

View File

@@ -3,6 +3,7 @@ package org.nl.api.schedule.task.api;
import cn.hutool.http.HttpResponse;
import com.alibaba.fastjson.JSONObject;
import org.nl.api.schedule.task.core.ScheduleAPICreateCruiseTaskParam;
import org.nl.api.schedule.task.core.ScheduleAPICreateOneClickTaskParam;
import org.nl.api.schedule.task.core.ScheduleAPICreateTaskParam;
@@ -55,4 +56,11 @@ public interface ScheduleTaskAPI {
* @return
*/
HttpResponse oneClickOperationTask(ScheduleAPICreateOneClickTaskParam scheduleAPICreateOneClickTaskParam);
/**
* 创建调度巡航任务
* @param param
* @return
*/
HttpResponse createCruiseTask(ScheduleAPICreateCruiseTaskParam param);
}

View File

@@ -0,0 +1,37 @@
package org.nl.api.schedule.task.core;
import lombok.Data;
import java.util.List;
/**
* @author dsh
* 2026/3/3
*/
@Data
public class ScheduleAPICreateCruiseTaskParam {
/**
* 任务号
*/
private String task_code;
/**
* 目标点
*/
private List<String> destinations;
/**
* 任务类型
*/
private String type;
/**
* 任务优先级 (1-10数字越低优先级越高)
*/
private String priority;
/**
* 指定车号
*/
private String vehicle_number;
}