add:第一版测试版本,第二次联调。

This commit is contained in:
2025-12-26 15:27:54 +08:00
parent cd483c81d1
commit 6e554b6bf7
32 changed files with 903 additions and 73 deletions

View File

@@ -14,5 +14,5 @@ public class ScheduleAPISettingSpeedParam {
* 速度单位m/s
*/
@NotBlank(message = "速度不能为空")
private Integer customSpeed;
private double customSpeed;
}

View File

@@ -1,5 +1,8 @@
package org.nl.api.task.api;
import org.nl.api.task.core.QRCodeTaskRequestParam;
import org.nl.response.WebResponse;
/**
* @author dsh
* 2025/12/11
@@ -28,4 +31,32 @@ public interface TaskAPI {
* @return
*/
String taskOperationConfirm(String taskCode,String vehicleNumber);
/**
* 二维码生成任务
* @param param
* @return
*/
WebResponse createTask(QRCodeTaskRequestParam param);
/**
* 二维码生成任务
* @param taskCode
* @return
*/
WebResponse cancelTask(String taskCode);
/**
* 二维码查询任务信息
* @param room
* @return
*/
WebResponse queryTaskInfoByRoom(String room);
/**
* 二维码查询任务信息
* @param taskCode
* @return
*/
WebResponse taskOperationConfirm(String taskCode);
}

View File

@@ -0,0 +1,39 @@
package org.nl.api.task.core;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
/**
* @author dsh
* 2025/12/23
*/
@Data
public class QRCodeTaskRequestParam {
/**
* 目标点
*/
@NotBlank(message = "目标点不能为空")
private String destinations;
/**
* 任务类型
*/
@NotBlank(message = "任务类型不能为空")
private String type;
/**
* 任务号
*/
private String task_code;
/**
* 任务优先级
*/
private String priority;
/**
* 指定车号
*/
private String vehicle_number;
}