|  |  | 
 |  |  |                         BeanUtils.toBean(list, DevModelRespVO.class)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @GetMapping("/brand-option") | 
 |  |  |     @Operation(summary = "获得品牌选项") | 
 |  |  |     @PreAuthorize("@ss.hasPermission('ecg:dev-model:query')") | 
 |  |  |     public CommonResult<List<OptionVO>> getBrandOption(String category) { | 
 |  |  |         List<OptionVO> optionVOList = devModelService.getBrandOptions( category ); | 
 |  |  |         return success( optionVOList ); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @GetMapping("/model-option") | 
 |  |  |     @Operation(summary = "获得模型选项") | 
 |  |  |     @PreAuthorize("@ss.hasPermission('ecg:dev-model:query')") | 
 |  |  |     public CommonResult<List<OptionVO>> getModelOption(String category, String brand) { | 
 |  |  |         List<OptionVO> optionVOList = devModelService.getBrandModelOptions( category, brand ); | 
 |  |  |         return success( optionVOList ); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } |