add:1.增加后台管理强制取消任务接口。2.修改设置车辆冰量和水量逻辑。3.增加OTA远程更新功能。4.补充国际化。5.增加调度任务不存在同步取消数据库任务。
This commit is contained in:
@@ -43,6 +43,11 @@ public class Param implements Serializable {
|
||||
*/
|
||||
private String value;
|
||||
|
||||
/**
|
||||
* 值(英文)
|
||||
*/
|
||||
private String en_value;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
|
||||
@@ -8,6 +8,7 @@ import org.nl.enums.TaskSourceEnum;
|
||||
import org.nl.logging.annotation.Log;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
@@ -33,6 +34,12 @@ public class ManagerTaskController {
|
||||
return new ResponseEntity<>(taskAPI.cancelTask(taskCode), HttpStatus.OK);
|
||||
}
|
||||
|
||||
@PostMapping("/forceCancelTask")
|
||||
@Log("后台管理系统强制取消任务")
|
||||
public ResponseEntity<Object> forceCancelTask(@RequestParam String taskCode){
|
||||
return new ResponseEntity<>(taskAPI.forceCancelTask(taskCode), HttpStatus.OK);
|
||||
}
|
||||
|
||||
@Log("后台管理系统一键任务")
|
||||
@PostMapping("/oneClickOperation")
|
||||
public ResponseEntity<Object> oneClickOperation(@RequestBody OneClickOperationRequestParam oneClickOperationRequestParam){
|
||||
|
||||
Reference in New Issue
Block a user