rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/WaveController.java
@@ -178,4 +178,21 @@ } @PreAuthorize("hasAuthority('manager:waveItem:update')") @ApiOperation("终止下发任务") @PostMapping("/wave/stop/pub/{id}") public R stopPublicTask(@PathVariable Long id) { if (Objects.isNull(id)) { return R.error("参数不能为空!!"); } Wave wave = waveService.getById(id); if (Objects.isNull(wave)) { throw new CoolException("波次单不存在!!"); } waveService.update(new LambdaUpdateWrapper<Wave>() .eq(Wave::getId, id) .set(Wave::getExceStatus, WaveExceStatus.WAVE_EXCE_STATUS_TASK.val)); return R.ok(); } }