|
@@ -35,7 +35,7 @@ public class SysDictDataController extends BaseController
|
|
|
@Resource
|
|
|
private ISysDictTypeService dictTypeService;
|
|
|
|
|
|
- @PreAuthorize("@ss.hasPermi('system:dict:list')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:tenantDict:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(SysDictData dictData)
|
|
|
{
|
|
@@ -45,7 +45,7 @@ public class SysDictDataController extends BaseController
|
|
|
}
|
|
|
|
|
|
@Log(title = "字典数据", businessType = BusinessType.EXPORT)
|
|
|
- @PreAuthorize("@ss.hasPermi('system:dict:export')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:tenantDict:export')")
|
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, SysDictData dictData)
|
|
|
{
|
|
@@ -57,7 +57,7 @@ public class SysDictDataController extends BaseController
|
|
|
/**
|
|
|
* 查询字典数据详细
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:dict:query')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:tenantDict:query')")
|
|
|
@GetMapping(value = "/{dictCode}")
|
|
|
public AjaxResult getInfo(@PathVariable Long dictCode)
|
|
|
{
|
|
@@ -81,7 +81,7 @@ public class SysDictDataController extends BaseController
|
|
|
/**
|
|
|
* 新增字典类型
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:dict:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:tenantDict:add')")
|
|
|
@Log(title = "字典数据", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@Validated @RequestBody SysDictData dict)
|
|
@@ -93,7 +93,7 @@ public class SysDictDataController extends BaseController
|
|
|
/**
|
|
|
* 修改保存字典类型
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:dict:edit')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:tenantDict:edit')")
|
|
|
@Log(title = "字典数据", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@Validated @RequestBody SysDictData dict)
|
|
@@ -105,7 +105,7 @@ public class SysDictDataController extends BaseController
|
|
|
/**
|
|
|
* 删除字典类型
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:dict:remove')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:tenantDict:remove')")
|
|
|
@Log(title = "字典类型", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{dictCodes}")
|
|
|
public AjaxResult remove(@PathVariable Long[] dictCodes)
|