| | |
| | | return waylineJobService.publishFlightTask(param, customClaim); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 创建航路任务(重复定时和连续执行) |
| | | * @param request |
| | | * @param param |
| | | * @param workspaceId |
| | | * @return |
| | | * @throws SQLException |
| | | */ |
| | | @PostMapping("/{workspace_id}/flight-tasks-condition") |
| | | public ResponseResult createJobCondition(HttpServletRequest request, @Valid @RequestBody CreateJobParam param, |
| | | @PathVariable(name = "workspace_id") String workspaceId) throws SQLException { |
| | | CustomClaim customClaim = (CustomClaim)request.getAttribute(TOKEN_CLAIM); |
| | | customClaim.setWorkspaceId(workspaceId); |
| | | |
| | | return waylineJobService.publishFlightTaskCondition(param, customClaim); |
| | | } |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param page |