|  |  | 
 |  |  |     @Autowired | 
 |  |  |     private ISysDictTypeService dictTypeService; | 
 |  |  |  | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:dict:list')") | 
 |  |  |     // @PreAuthorize("@ss.hasPermi('system:dict:list')") | 
 |  |  |     @GetMapping("/list") | 
 |  |  |     public TableDataInfo list(SysDictType dictType) | 
 |  |  |     { | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Log(title = "字典类型", businessType = BusinessType.EXPORT) | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:dict:export')") | 
 |  |  |     // @PreAuthorize("@ss.hasPermi('system:dict:export')") | 
 |  |  |     @GetMapping("/export") | 
 |  |  |     public AjaxResult export(SysDictType dictType) | 
 |  |  |     { | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 查询字典类型详细 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:dict:query')") | 
 |  |  |     // @PreAuthorize("@ss.hasPermi('system:dict:query')") | 
 |  |  |     @GetMapping(value = "/{dictId}") | 
 |  |  |     public AjaxResult getInfo(@PathVariable Long dictId) | 
 |  |  |     { | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 新增字典类型 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:dict:add')") | 
 |  |  |     // @PreAuthorize("@ss.hasPermi('system:dict:add')") | 
 |  |  |     @Log(title = "字典类型", businessType = BusinessType.INSERT) | 
 |  |  |     @PostMapping | 
 |  |  |     public AjaxResult add(@Validated @RequestBody SysDictType dict) | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 修改字典类型 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:dict:edit')") | 
 |  |  |     // @PreAuthorize("@ss.hasPermi('system:dict:edit')") | 
 |  |  |     @Log(title = "字典类型", businessType = BusinessType.UPDATE) | 
 |  |  |     @PostMapping("/edit") | 
 |  |  |     public AjaxResult edit(@Validated @RequestBody SysDictType dict) | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 删除字典类型 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:dict:remove')") | 
 |  |  |     // @PreAuthorize("@ss.hasPermi('system:dict:remove')") | 
 |  |  |     @Log(title = "字典类型", businessType = BusinessType.DELETE) | 
 |  |  |     @GetMapping("/remove/{dictIds}") | 
 |  |  |     public AjaxResult remove(@PathVariable Long[] dictIds) | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 刷新字典缓存 | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:dict:remove')") | 
 |  |  |     // @PreAuthorize("@ss.hasPermi('system:dict:remove')") | 
 |  |  |     @Log(title = "字典类型", businessType = BusinessType.CLEAN) | 
 |  |  |     @GetMapping("/refreshCache") | 
 |  |  |     public AjaxResult refreshCache() |