1.字典管理权限调整

This commit is contained in:
pan 2024-09-02 18:06:41 +08:00
parent 242fa6736e
commit a869af50be
3 changed files with 1 additions and 7 deletions

View File

@ -44,7 +44,6 @@ public class SysDictTypeController extends BaseController
}
@PreAuthorize("@ss.hasPermi('system:bizlist:list')")
@GetMapping("/bizlist")
public TableDataInfo bizlist(SysDictType dictType)
{

View File

@ -63,7 +63,6 @@ public class DownloadCountController extends BaseController
/**
* 导出工具下载统计列表
*/
@PreAuthorize("@ss.hasPermi('system:count:export')")
@Log(title = "工具下载统计", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, DownloadCount downloadCount)
@ -76,7 +75,6 @@ public class DownloadCountController extends BaseController
/**
* 获取工具下载统计详细信息
*/
@PreAuthorize("@ss.hasPermi('system:count:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
@ -86,7 +84,6 @@ public class DownloadCountController extends BaseController
/**
* 新增工具下载统计
*/
@PreAuthorize("@ss.hasPermi('system:count:add')")
@Log(title = "工具下载统计", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody DownloadCount downloadCount)
@ -97,7 +94,6 @@ public class DownloadCountController extends BaseController
/**
* 修改工具下载统计
*/
@PreAuthorize("@ss.hasPermi('system:count:edit')")
@Log(title = "工具下载统计", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody DownloadCount downloadCount)
@ -108,7 +104,6 @@ public class DownloadCountController extends BaseController
/**
* 删除工具下载统计
*/
@PreAuthorize("@ss.hasPermi('system:count:remove')")
@Log(title = "工具下载统计", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)

View File

@ -193,7 +193,7 @@ public class SysDeptServiceImpl implements ISysDeptService
{
SysDept dept = new SysDept();
dept.setDeptId(deptId);
List<SysDept> depts = SpringUtils.getAopProxy(this).selectDeptList(dept);
List<SysDept> depts = deptMapper.selectDeptList(dept);
if (StringUtils.isEmpty(depts))
{
throw new ServiceException("没有权限访问部门数据!");