opt:1.增加操作台功能。2.调整数据刷新时间。

This commit is contained in:
2026-03-18 19:00:26 +08:00
parent 2407369bb9
commit b693340185
16 changed files with 187 additions and 12 deletions

View File

@@ -2,6 +2,9 @@ package org.nl.api.map.api;
import org.nl.response.WebResponse;
import java.util.List;
import java.util.Map;
/**
* @author dsh
* 2026/3/9
@@ -13,4 +16,10 @@ public interface MapAPI {
* @return
*/
WebResponse getAllStations();
/**
* 获取所有站点列表(原始数据,便于在其他模块中组合使用)
* @return List of station map
*/
List<Map<String, Object>> getAllStationList();
}

View File

@@ -1,5 +1,6 @@
package org.nl.api.task.api;
import org.nl.api.task.core.OneClickOperationRequestParam;
import org.nl.api.task.core.TaskRequestParam;
import org.nl.response.WebResponse;
@@ -79,4 +80,17 @@ public interface TaskAPI {
* @return
*/
WebResponse queryNotFinishTaskInfos();
/**
* 查询所有房间的任务状态
* key: room_code, value: 任务状态信息(无任务时为null)
* @return Map<roomCode, taskInfo>
*/
WebResponse queryAllRoomStatus();
/**
* 一键任务
* @return
*/
WebResponse oneClickOperation(OneClickOperationRequestParam param,String source);
}

View File

@@ -0,0 +1,24 @@
package org.nl.api.task.core;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
/**
* @author dsh
* 2025/12/13
*/
@Data
public class OneClickOperationRequestParam {
/**
* 车号
*/
@NotBlank(message = "{validation_vehicle_number_empty}")
private String vehicle_number;
/**
* 一键任务类型
*/
@NotBlank(message = "{validation_task_type_empty}")
private String type;
}