bug 修改

This commit is contained in:
13405411873 2024-12-26 11:06:04 +08:00
parent 29aa2a2a4a
commit 79a20d3a85
2 changed files with 2 additions and 3 deletions

View File

@ -86,7 +86,6 @@ public class CarBrandController {
@GetMapping("/page") @GetMapping("/page")
@Operation(summary = "获得车辆品牌分页") @Operation(summary = "获得车辆品牌分页")
@PreAuthorize("@ss.hasPermission('base:car-brand:query')")
public CommonResult<IPage<CarBrandRespVO>> getCarBrandPage(CarBrandReqVO pageReqVO) { public CommonResult<IPage<CarBrandRespVO>> getCarBrandPage(CarBrandReqVO pageReqVO) {
IPage<CarBrandRespVO> pageResult = carBrandService.getCarBrandPage(pageReqVO); IPage<CarBrandRespVO> pageResult = carBrandService.getCarBrandPage(pageReqVO);
return success(pageResult); return success(pageResult);
@ -104,4 +103,4 @@ public class CarBrandController {
ExcelUtils.write(response, "车辆品牌维护.xls", "数据", CarBrandRespVO.class, list); ExcelUtils.write(response, "车辆品牌维护.xls", "数据", CarBrandRespVO.class, list);
} }
} }

View File

@ -387,7 +387,7 @@ public class RescueDriverInfoServiceImpl extends ServiceImpl<RescueDriverInfoMap
redissonDelayQueue.removeAllTasks(rescueInfo.getId()); redissonDelayQueue.removeAllTasks(rescueInfo.getId());
} catch (Exception e) { } catch (Exception e) {
log.error(e.getMessage()); log.error(e.getMessage());
throw new Exception("出现异常"); throw new Exception(e.getMessage());
} finally { } finally {
lock.unlock(); lock.unlock();
} }