release-v1.0 #1
@ -44,7 +44,6 @@ public class SysDictTypeController extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@PreAuthorize("@ss.hasPermi('system:bizlist:list')")
|
|
||||||
@GetMapping("/bizlist")
|
@GetMapping("/bizlist")
|
||||||
public TableDataInfo bizlist(SysDictType dictType)
|
public TableDataInfo bizlist(SysDictType dictType)
|
||||||
{
|
{
|
||||||
|
@ -63,7 +63,6 @@ public class DownloadCountController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 导出工具下载统计列表
|
* 导出工具下载统计列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('system:count:export')")
|
|
||||||
@Log(title = "工具下载统计", businessType = BusinessType.EXPORT)
|
@Log(title = "工具下载统计", businessType = BusinessType.EXPORT)
|
||||||
@PostMapping("/export")
|
@PostMapping("/export")
|
||||||
public void export(HttpServletResponse response, DownloadCount downloadCount)
|
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}")
|
@GetMapping(value = "/{id}")
|
||||||
public AjaxResult getInfo(@PathVariable("id") String 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)
|
@Log(title = "工具下载统计", businessType = BusinessType.INSERT)
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@RequestBody DownloadCount downloadCount)
|
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)
|
@Log(title = "工具下载统计", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping
|
@PutMapping
|
||||||
public AjaxResult edit(@RequestBody DownloadCount downloadCount)
|
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)
|
@Log(title = "工具下载统计", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
public AjaxResult remove(@PathVariable String[] ids)
|
public AjaxResult remove(@PathVariable String[] ids)
|
||||||
|
@ -193,7 +193,7 @@ public class SysDeptServiceImpl implements ISysDeptService
|
|||||||
{
|
{
|
||||||
SysDept dept = new SysDept();
|
SysDept dept = new SysDept();
|
||||||
dept.setDeptId(deptId);
|
dept.setDeptId(deptId);
|
||||||
List<SysDept> depts = SpringUtils.getAopProxy(this).selectDeptList(dept);
|
List<SysDept> depts = deptMapper.selectDeptList(dept);
|
||||||
if (StringUtils.isEmpty(depts))
|
if (StringUtils.isEmpty(depts))
|
||||||
{
|
{
|
||||||
throw new ServiceException("没有权限访问部门数据!");
|
throw new ServiceException("没有权限访问部门数据!");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user