删除log 修改广告接口

master
许宏杰 10 months ago
parent 334e4a2687
commit 61fad7a246

@ -67,7 +67,7 @@ public class BNetController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('netEwm:net:export')")
@Log(title = "网络", businessType = BusinessType.EXPORT)
// @Log(title = "网络", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, BNet bNet) {
List<BNet> list = bNetService.selectBNetList(bNet);
@ -91,7 +91,7 @@ public class BNetController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('netEwm:net:add')")
@Log(title = "网络", businessType = BusinessType.INSERT)
// @Log(title = "网络", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody BNet bNet) {
return toAjax(bNetService.insertBNet(bNet));
@ -101,7 +101,7 @@ public class BNetController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('netEwm:net:edit')")
@Log(title = "网络", businessType = BusinessType.UPDATE)
// @Log(title = "网络", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BNet bNet) {
return toAjax(bNetService.updateBNet(bNet));
@ -111,7 +111,7 @@ public class BNetController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('netEwm:net:remove')")
@Log(title = "网络", businessType = BusinessType.DELETE)
// @Log(title = "网络", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(bNetService.deleteBNetByIds(ids));

@ -53,7 +53,7 @@ public class BNetHistoryController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('netEwm:netHistory:export')")
@Log(title = "连网历史", businessType = BusinessType.EXPORT)
// @Log(title = "连网历史", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, BNetHistory bNetHistory) {
List<BNetHistory> list = bNetHistoryService.selectBNetHistoryList(bNetHistory);
@ -74,7 +74,7 @@ public class BNetHistoryController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('netEwm:netHistory:add')")
@Log(title = "连网历史", businessType = BusinessType.INSERT)
// @Log(title = "连网历史", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody BNetHistory bNetHistory) {
return toAjax(bNetHistoryService.insertBNetHistory(bNetHistory));
@ -84,7 +84,7 @@ public class BNetHistoryController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('netEwm:netHistory:edit')")
@Log(title = "连网历史", businessType = BusinessType.UPDATE)
// @Log(title = "连网历史", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BNetHistory bNetHistory) {
return toAjax(bNetHistoryService.updateBNetHistory(bNetHistory));
@ -94,7 +94,7 @@ public class BNetHistoryController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('netEwm:netHistory:remove')")
@Log(title = "连网历史", businessType = BusinessType.DELETE)
// @Log(title = "连网历史", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(bNetHistoryService.deleteBNetHistoryByIds(ids));

@ -56,7 +56,7 @@ public class BPosterController extends BaseController {
* 广
*/
// @PreAuthorize("@ss.hasPermi('netEwm:poster:export')")
@Log(title = "广告", businessType = BusinessType.EXPORT)
// @Log(title = "广告", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, BPoster bPoster) {
List<BPoster> list = bPosterService.selectBPosterList(bPoster);
@ -77,7 +77,7 @@ public class BPosterController extends BaseController {
* 广
*/
// @PreAuthorize("@ss.hasPermi('netEwm:poster:add')")
@Log(title = "广告", businessType = BusinessType.INSERT)
// @Log(title = "广告", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody BPoster bPoster) {
return toAjax(bPosterService.insertBPoster(bPoster));
@ -100,7 +100,7 @@ public class BPosterController extends BaseController {
* 广
*/
// @PreAuthorize("@ss.hasPermi('netEwm:poster:edit')")
@Log(title = "广告", businessType = BusinessType.UPDATE)
// @Log(title = "广告", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BPoster bPoster) {
return toAjax(bPosterService.updateBPoster(bPoster));
@ -110,7 +110,7 @@ public class BPosterController extends BaseController {
* 广
*/
// @PreAuthorize("@ss.hasPermi('netEwm:poster:remove')")
@Log(title = "广告", businessType = BusinessType.DELETE)
// @Log(title = "广告", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(bPosterService.deleteBPosterByIds(ids));

@ -53,7 +53,7 @@ public class BPosterHistoryController extends BaseController {
* 广
*/
// @PreAuthorize("@ss.hasPermi('netEwm:posterHistory:export')")
@Log(title = "广告历史", businessType = BusinessType.EXPORT)
// @Log(title = "广告历史", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, BPosterHistory bPosterHistory) {
List<BPosterHistory> list = bPosterHistoryService.selectBPosterHistoryList(bPosterHistory);
@ -74,7 +74,7 @@ public class BPosterHistoryController extends BaseController {
* 广
*/
// @PreAuthorize("@ss.hasPermi('netEwm:posterHistory:add')")
@Log(title = "广告历史", businessType = BusinessType.INSERT)
// @Log(title = "广告历史", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody BPosterHistory bPosterHistory) {
return toAjax(bPosterHistoryService.insertBPosterHistory(bPosterHistory));
@ -84,7 +84,7 @@ public class BPosterHistoryController extends BaseController {
* 广
*/
// @PreAuthorize("@ss.hasPermi('netEwm:posterHistory:edit')")
@Log(title = "广告历史", businessType = BusinessType.UPDATE)
// @Log(title = "广告历史", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BPosterHistory bPosterHistory) {
return toAjax(bPosterHistoryService.updateBPosterHistory(bPosterHistory));
@ -94,7 +94,7 @@ public class BPosterHistoryController extends BaseController {
* 广
*/
// @PreAuthorize("@ss.hasPermi('netEwm:posterHistory:remove')")
@Log(title = "广告历史", businessType = BusinessType.DELETE)
// @Log(title = "广告历史", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(bPosterHistoryService.deleteBPosterHistoryByIds(ids));

@ -52,7 +52,7 @@ public class BShanghuController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('netEwm:shanghu:export')")
@Log(title = "商户", businessType = BusinessType.EXPORT)
// @Log(title = "商户", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, BShanghu bShanghu) {
List<BShanghu> list = bShanghuService.selectBShanghuList(bShanghu);
@ -73,7 +73,7 @@ public class BShanghuController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('netEwm:shanghu:add')")
@Log(title = "商户", businessType = BusinessType.INSERT)
// @Log(title = "商户", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody BShanghu bShanghu) {
return toAjax(bShanghuService.insertBShanghu(bShanghu));
@ -83,7 +83,7 @@ public class BShanghuController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('netEwm:shanghu:edit')")
@Log(title = "商户", businessType = BusinessType.UPDATE)
// @Log(title = "商户", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BShanghu bShanghu) {
return toAjax(bShanghuService.updateBShanghu(bShanghu));
@ -93,7 +93,7 @@ public class BShanghuController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('netEwm:shanghu:remove')")
@Log(title = "商户", businessType = BusinessType.DELETE)
// @Log(title = "商户", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(bShanghuService.deleteBShanghuByIds(ids));

@ -44,7 +44,7 @@ public class SysLogininforController extends BaseController
return getDataTable(list);
}
@Log(title = "登录日志", businessType = BusinessType.EXPORT)
// @Log(title = "登录日志", businessType = BusinessType.EXPORT)
// @PreAuthorize("@ss.hasPermi('monitor:logininfor:export')")
@PostMapping("/export")
public void export(HttpServletResponse response, SysLogininfor logininfor)
@ -55,7 +55,7 @@ public class SysLogininforController extends BaseController
}
// @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')")
@Log(title = "登录日志", businessType = BusinessType.DELETE)
// @Log(title = "登录日志", businessType = BusinessType.DELETE)
@DeleteMapping("/{infoIds}")
public AjaxResult remove(@PathVariable Long[] infoIds)
{
@ -63,7 +63,7 @@ public class SysLogininforController extends BaseController
}
// @PreAuthorize("@ss.hasPermi('monitor:logininfor:remove')")
@Log(title = "登录日志", businessType = BusinessType.CLEAN)
// @Log(title = "登录日志", businessType = BusinessType.CLEAN)
@DeleteMapping("/clean")
public AjaxResult clean()
{
@ -72,7 +72,7 @@ public class SysLogininforController extends BaseController
}
// @PreAuthorize("@ss.hasPermi('monitor:logininfor:unlock')")
@Log(title = "账户解锁", businessType = BusinessType.OTHER)
// @Log(title = "账户解锁", businessType = BusinessType.OTHER)
@GetMapping("/unlock/{userName}")
public AjaxResult unlock(@PathVariable("userName") String userName)
{

@ -40,7 +40,7 @@ public class SysOperlogController extends BaseController
return getDataTable(list);
}
@Log(title = "操作日志", businessType = BusinessType.EXPORT)
// @Log(title = "操作日志", businessType = BusinessType.EXPORT)
// @PreAuthorize("@ss.hasPermi('monitor:operlog:export')")
@PostMapping("/export")
public void export(HttpServletResponse response, SysOperLog operLog)
@ -50,7 +50,7 @@ public class SysOperlogController extends BaseController
util.exportExcel(response, list, "操作日志");
}
@Log(title = "操作日志", businessType = BusinessType.DELETE)
// @Log(title = "操作日志", businessType = BusinessType.DELETE)
// @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')")
@DeleteMapping("/{operIds}")
public AjaxResult remove(@PathVariable Long[] operIds)
@ -58,7 +58,7 @@ public class SysOperlogController extends BaseController
return toAjax(operLogService.deleteOperLogByIds(operIds));
}
@Log(title = "操作日志", businessType = BusinessType.CLEAN)
// @Log(title = "操作日志", businessType = BusinessType.CLEAN)
// @PreAuthorize("@ss.hasPermi('monitor:operlog:remove')")
@DeleteMapping("/clean")
public AjaxResult clean()

@ -73,7 +73,7 @@ public class SysUserOnlineController extends BaseController
* 退
*/
// @PreAuthorize("@ss.hasPermi('monitor:online:forceLogout')")
@Log(title = "在线用户", businessType = BusinessType.FORCE)
// @Log(title = "在线用户", businessType = BusinessType.FORCE)
@DeleteMapping("/{tokenId}")
public AjaxResult forceLogout(@PathVariable String tokenId)
{

@ -46,7 +46,7 @@ public class SysConfigController extends BaseController
return getDataTable(list);
}
@Log(title = "参数管理", businessType = BusinessType.EXPORT)
// @Log(title = "参数管理", businessType = BusinessType.EXPORT)
// @PreAuthorize("@ss.hasPermi('system:config:export')")
@PostMapping("/export")
public void export(HttpServletResponse response, SysConfig config)
@ -79,7 +79,7 @@ public class SysConfigController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:config:add')")
@Log(title = "参数管理", businessType = BusinessType.INSERT)
// @Log(title = "参数管理", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@Validated @RequestBody SysConfig config)
{
@ -95,7 +95,7 @@ public class SysConfigController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:config:edit')")
@Log(title = "参数管理", businessType = BusinessType.UPDATE)
// @Log(title = "参数管理", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@Validated @RequestBody SysConfig config)
{
@ -111,7 +111,7 @@ public class SysConfigController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:config:remove')")
@Log(title = "参数管理", businessType = BusinessType.DELETE)
// @Log(title = "参数管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{configIds}")
public AjaxResult remove(@PathVariable Long[] configIds)
{
@ -123,7 +123,7 @@ public class SysConfigController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:config:remove')")
@Log(title = "参数管理", businessType = BusinessType.CLEAN)
// @Log(title = "参数管理", businessType = BusinessType.CLEAN)
@DeleteMapping("/refreshCache")
public AjaxResult refreshCache()
{

@ -72,7 +72,7 @@ public class SysDeptController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:dept:add')")
@Log(title = "部门管理", businessType = BusinessType.INSERT)
// @Log(title = "部门管理", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@Validated @RequestBody SysDept dept)
{
@ -88,7 +88,7 @@ public class SysDeptController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:dept:edit')")
@Log(title = "部门管理", businessType = BusinessType.UPDATE)
// @Log(title = "部门管理", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@Validated @RequestBody SysDept dept)
{
@ -114,7 +114,7 @@ public class SysDeptController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:dept:remove')")
@Log(title = "部门管理", businessType = BusinessType.DELETE)
// @Log(title = "部门管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{deptId}")
public AjaxResult remove(@PathVariable Long deptId)
{

@ -49,7 +49,7 @@ public class SysDictDataController extends BaseController
return getDataTable(list);
}
@Log(title = "字典数据", businessType = BusinessType.EXPORT)
// @Log(title = "字典数据", businessType = BusinessType.EXPORT)
// @PreAuthorize("@ss.hasPermi('system:dict:export')")
@PostMapping("/export")
public void export(HttpServletResponse response, SysDictData dictData)
@ -87,7 +87,7 @@ public class SysDictDataController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:dict:add')")
@Log(title = "字典数据", businessType = BusinessType.INSERT)
// @Log(title = "字典数据", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@Validated @RequestBody SysDictData dict)
{
@ -99,7 +99,7 @@ public class SysDictDataController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:dict:edit')")
@Log(title = "字典数据", businessType = BusinessType.UPDATE)
// @Log(title = "字典数据", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@Validated @RequestBody SysDictData dict)
{
@ -111,7 +111,7 @@ public class SysDictDataController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:dict:remove')")
@Log(title = "字典类型", businessType = BusinessType.DELETE)
// @Log(title = "字典类型", businessType = BusinessType.DELETE)
@DeleteMapping("/{dictCodes}")
public AjaxResult remove(@PathVariable Long[] dictCodes)
{

@ -43,7 +43,7 @@ public class SysDictTypeController extends BaseController
return getDataTable(list);
}
@Log(title = "字典类型", businessType = BusinessType.EXPORT)
// @Log(title = "字典类型", businessType = BusinessType.EXPORT)
// @PreAuthorize("@ss.hasPermi('system:dict:export')")
@PostMapping("/export")
public void export(HttpServletResponse response, SysDictType dictType)
@ -67,7 +67,7 @@ public class SysDictTypeController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:dict:add')")
@Log(title = "字典类型", businessType = BusinessType.INSERT)
// @Log(title = "字典类型", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@Validated @RequestBody SysDictType dict)
{
@ -83,7 +83,7 @@ public class SysDictTypeController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:dict:edit')")
@Log(title = "字典类型", businessType = BusinessType.UPDATE)
// @Log(title = "字典类型", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@Validated @RequestBody SysDictType dict)
{
@ -99,7 +99,7 @@ public class SysDictTypeController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:dict:remove')")
@Log(title = "字典类型", businessType = BusinessType.DELETE)
// @Log(title = "字典类型", businessType = BusinessType.DELETE)
@DeleteMapping("/{dictIds}")
public AjaxResult remove(@PathVariable Long[] dictIds)
{
@ -111,7 +111,7 @@ public class SysDictTypeController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:dict:remove')")
@Log(title = "字典类型", businessType = BusinessType.CLEAN)
// @Log(title = "字典类型", businessType = BusinessType.CLEAN)
@DeleteMapping("/refreshCache")
public AjaxResult refreshCache()
{

@ -81,7 +81,7 @@ public class SysMenuController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:menu:add')")
@Log(title = "菜单管理", businessType = BusinessType.INSERT)
// @Log(title = "菜单管理", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@Validated @RequestBody SysMenu menu)
{
@ -101,7 +101,7 @@ public class SysMenuController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:menu:edit')")
@Log(title = "菜单管理", businessType = BusinessType.UPDATE)
// @Log(title = "菜单管理", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@Validated @RequestBody SysMenu menu)
{
@ -125,7 +125,7 @@ public class SysMenuController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:menu:remove')")
@Log(title = "菜单管理", businessType = BusinessType.DELETE)
// @Log(title = "菜单管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{menuId}")
public AjaxResult remove(@PathVariable("menuId") Long menuId)
{

@ -58,7 +58,7 @@ public class SysNoticeController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:notice:add')")
@Log(title = "通知公告", businessType = BusinessType.INSERT)
// @Log(title = "通知公告", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@Validated @RequestBody SysNotice notice)
{
@ -70,7 +70,7 @@ public class SysNoticeController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:notice:edit')")
@Log(title = "通知公告", businessType = BusinessType.UPDATE)
// @Log(title = "通知公告", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@Validated @RequestBody SysNotice notice)
{
@ -82,7 +82,7 @@ public class SysNoticeController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:notice:remove')")
@Log(title = "通知公告", businessType = BusinessType.DELETE)
// @Log(title = "通知公告", businessType = BusinessType.DELETE)
@DeleteMapping("/{noticeIds}")
public AjaxResult remove(@PathVariable Long[] noticeIds)
{

@ -46,7 +46,7 @@ public class SysPostController extends BaseController
return getDataTable(list);
}
@Log(title = "岗位管理", businessType = BusinessType.EXPORT)
// @Log(title = "岗位管理", businessType = BusinessType.EXPORT)
// @PreAuthorize("@ss.hasPermi('system:post:export')")
@PostMapping("/export")
public void export(HttpServletResponse response, SysPost post)
@ -70,7 +70,7 @@ public class SysPostController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:post:add')")
@Log(title = "岗位管理", businessType = BusinessType.INSERT)
// @Log(title = "岗位管理", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@Validated @RequestBody SysPost post)
{
@ -90,7 +90,7 @@ public class SysPostController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:post:edit')")
@Log(title = "岗位管理", businessType = BusinessType.UPDATE)
// @Log(title = "岗位管理", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@Validated @RequestBody SysPost post)
{
@ -110,7 +110,7 @@ public class SysPostController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:post:remove')")
@Log(title = "岗位管理", businessType = BusinessType.DELETE)
// @Log(title = "岗位管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{postIds}")
public AjaxResult remove(@PathVariable Long[] postIds)
{

@ -55,7 +55,7 @@ public class SysProfileController extends BaseController
/**
*
*/
@Log(title = "个人信息", businessType = BusinessType.UPDATE)
// @Log(title = "个人信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult updateProfile(@RequestBody SysUser user)
{
@ -85,7 +85,7 @@ public class SysProfileController extends BaseController
/**
*
*/
@Log(title = "个人信息", businessType = BusinessType.UPDATE)
// @Log(title = "个人信息", businessType = BusinessType.UPDATE)
@PutMapping("/updatePwd")
public AjaxResult updatePwd(String oldPassword, String newPassword)
{
@ -113,7 +113,7 @@ public class SysProfileController extends BaseController
/**
*
*/
@Log(title = "用户头像", businessType = BusinessType.UPDATE)
// @Log(title = "用户头像", businessType = BusinessType.UPDATE)
@PostMapping("/avatar")
public AjaxResult avatar(@RequestParam("avatarfile") MultipartFile file) throws Exception
{

@ -64,7 +64,7 @@ public class SysRoleController extends BaseController
return getDataTable(list);
}
@Log(title = "角色管理", businessType = BusinessType.EXPORT)
// @Log(title = "角色管理", businessType = BusinessType.EXPORT)
// @PreAuthorize("@ss.hasPermi('system:role:export')")
@PostMapping("/export")
public void export(HttpServletResponse response, SysRole role)
@ -89,7 +89,7 @@ public class SysRoleController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:role:add')")
@Log(title = "角色管理", businessType = BusinessType.INSERT)
// @Log(title = "角色管理", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@Validated @RequestBody SysRole role)
{
@ -110,7 +110,7 @@ public class SysRoleController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:role:edit')")
@Log(title = "角色管理", businessType = BusinessType.UPDATE)
// @Log(title = "角色管理", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@Validated @RequestBody SysRole role)
{
@ -145,7 +145,7 @@ public class SysRoleController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:role:edit')")
@Log(title = "角色管理", businessType = BusinessType.UPDATE)
// @Log(title = "角色管理", businessType = BusinessType.UPDATE)
@PutMapping("/dataScope")
public AjaxResult dataScope(@RequestBody SysRole role)
{
@ -158,7 +158,7 @@ public class SysRoleController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:role:edit')")
@Log(title = "角色管理", businessType = BusinessType.UPDATE)
// @Log(title = "角色管理", businessType = BusinessType.UPDATE)
@PutMapping("/changeStatus")
public AjaxResult changeStatus(@RequestBody SysRole role)
{
@ -172,7 +172,7 @@ public class SysRoleController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:role:remove')")
@Log(title = "角色管理", businessType = BusinessType.DELETE)
// @Log(title = "角色管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{roleIds}")
public AjaxResult remove(@PathVariable Long[] roleIds)
{
@ -217,7 +217,7 @@ public class SysRoleController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:role:edit')")
@Log(title = "角色管理", businessType = BusinessType.GRANT)
// @Log(title = "角色管理", businessType = BusinessType.GRANT)
@PutMapping("/authUser/cancel")
public AjaxResult cancelAuthUser(@RequestBody SysUserRole userRole)
{
@ -228,7 +228,7 @@ public class SysRoleController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:role:edit')")
@Log(title = "角色管理", businessType = BusinessType.GRANT)
// @Log(title = "角色管理", businessType = BusinessType.GRANT)
@PutMapping("/authUser/cancelAll")
public AjaxResult cancelAuthUserAll(Long roleId, Long[] userIds)
{
@ -239,7 +239,7 @@ public class SysRoleController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('system:role:edit')")
@Log(title = "角色管理", businessType = BusinessType.GRANT)
// @Log(title = "角色管理", businessType = BusinessType.GRANT)
@PutMapping("/authUser/selectAll")
public AjaxResult selectAuthUserAll(Long roleId, Long[] userIds)
{

@ -69,7 +69,7 @@ public class SysUserController extends BaseController {
return getDataTable(list);
}
@Log(title = "用户管理", businessType = BusinessType.EXPORT)
// @Log(title = "用户管理", businessType = BusinessType.EXPORT)
// @PreAuthorize("@ss.hasPermi('system:user:export')")
@PostMapping("/export")
public void export(HttpServletResponse response, SysUser user) {
@ -78,7 +78,7 @@ public class SysUserController extends BaseController {
util.exportExcel(response, list, "用户数据");
}
@Log(title = "用户管理", businessType = BusinessType.IMPORT)
// @Log(title = "用户管理", businessType = BusinessType.IMPORT)
// @PreAuthorize("@ss.hasPermi('system:user:import')")
@PostMapping("/importData")
public AjaxResult importData(MultipartFile file, boolean updateSupport) throws Exception {
@ -119,7 +119,7 @@ public class SysUserController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('system:user:add')")
@Log(title = "用户管理", businessType = BusinessType.INSERT)
// @Log(title = "用户管理", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@Validated @RequestBody SysUser user) {
if (!userService.checkUserNameUnique(user)) {
@ -141,7 +141,7 @@ public class SysUserController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('system:user:edit')")
@Log(title = "用户管理", businessType = BusinessType.UPDATE)
// @Log(title = "用户管理", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@Validated @RequestBody SysUser user) {
userService.checkUserAllowed(user);
@ -161,7 +161,7 @@ public class SysUserController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('system:user:remove')")
@Log(title = "用户管理", businessType = BusinessType.DELETE)
// @Log(title = "用户管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{userIds}")
public AjaxResult remove(@PathVariable Long[] userIds) {
if (ArrayUtils.contains(userIds, getUserId())) {
@ -174,7 +174,7 @@ public class SysUserController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('system:user:resetPwd')")
@Log(title = "用户管理", businessType = BusinessType.UPDATE)
// @Log(title = "用户管理", businessType = BusinessType.UPDATE)
@PutMapping("/resetPwd")
public AjaxResult resetPwd(@RequestBody SysUser user) {
userService.checkUserAllowed(user);
@ -188,7 +188,7 @@ public class SysUserController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('system:user:edit')")
@Log(title = "用户管理", businessType = BusinessType.UPDATE)
// @Log(title = "用户管理", businessType = BusinessType.UPDATE)
@PutMapping("/changeStatus")
public AjaxResult changeStatus(@RequestBody SysUser user) {
userService.checkUserAllowed(user);
@ -215,7 +215,7 @@ public class SysUserController extends BaseController {
*
*/
// @PreAuthorize("@ss.hasPermi('system:user:edit')")
@Log(title = "用户管理", businessType = BusinessType.GRANT)
// @Log(title = "用户管理", businessType = BusinessType.GRANT)
@PutMapping("/authRole")
public AjaxResult insertAuthRole(Long userId, Long[] roleIds) {
userService.checkUserDataScope(userId);

@ -111,7 +111,7 @@
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="duration != null">remark = #{duration},</if>
<if test="duration != null">duration = #{duration},</if>
</trim>
where id = #{id}
</update>

@ -102,7 +102,7 @@ public class GenController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('tool:gen:import')")
@Log(title = "代码生成", businessType = BusinessType.IMPORT)
// @Log(title = "代码生成", businessType = BusinessType.IMPORT)
@PostMapping("/importTable")
public AjaxResult importTableSave(String tables)
{
@ -117,7 +117,7 @@ public class GenController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('tool:gen:edit')")
@Log(title = "代码生成", businessType = BusinessType.UPDATE)
// @Log(title = "代码生成", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult editSave(@Validated @RequestBody GenTable genTable)
{
@ -130,7 +130,7 @@ public class GenController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('tool:gen:remove')")
@Log(title = "代码生成", businessType = BusinessType.DELETE)
// @Log(title = "代码生成", businessType = BusinessType.DELETE)
@DeleteMapping("/{tableIds}")
public AjaxResult remove(@PathVariable Long[] tableIds)
{
@ -153,7 +153,7 @@ public class GenController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('tool:gen:code')")
@Log(title = "代码生成", businessType = BusinessType.GENCODE)
// @Log(title = "代码生成", businessType = BusinessType.GENCODE)
@GetMapping("/download/{tableName}")
public void download(HttpServletResponse response, @PathVariable("tableName") String tableName) throws IOException
{
@ -165,7 +165,7 @@ public class GenController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('tool:gen:code')")
@Log(title = "代码生成", businessType = BusinessType.GENCODE)
// @Log(title = "代码生成", businessType = BusinessType.GENCODE)
@GetMapping("/genCode/{tableName}")
public AjaxResult genCode(@PathVariable("tableName") String tableName)
{
@ -177,7 +177,7 @@ public class GenController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('tool:gen:edit')")
@Log(title = "代码生成", businessType = BusinessType.UPDATE)
// @Log(title = "代码生成", businessType = BusinessType.UPDATE)
@GetMapping("/synchDb/{tableName}")
public AjaxResult synchDb(@PathVariable("tableName") String tableName)
{
@ -189,7 +189,7 @@ public class GenController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('tool:gen:code')")
@Log(title = "代码生成", businessType = BusinessType.GENCODE)
// @Log(title = "代码生成", businessType = BusinessType.GENCODE)
@GetMapping("/batchGenCode")
public void batchGenCode(HttpServletResponse response, String tables) throws IOException
{

@ -55,7 +55,7 @@ public class SysJobController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('monitor:job:export')")
@Log(title = "定时任务", businessType = BusinessType.EXPORT)
// @Log(title = "定时任务", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, SysJob sysJob)
{
@ -78,7 +78,7 @@ public class SysJobController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('monitor:job:add')")
@Log(title = "定时任务", businessType = BusinessType.INSERT)
// @Log(title = "定时任务", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody SysJob job) throws SchedulerException, TaskException
{
@ -114,7 +114,7 @@ public class SysJobController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('monitor:job:edit')")
@Log(title = "定时任务", businessType = BusinessType.UPDATE)
// @Log(title = "定时任务", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody SysJob job) throws SchedulerException, TaskException
{
@ -150,7 +150,7 @@ public class SysJobController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')")
@Log(title = "定时任务", businessType = BusinessType.UPDATE)
// @Log(title = "定时任务", businessType = BusinessType.UPDATE)
@PutMapping("/changeStatus")
public AjaxResult changeStatus(@RequestBody SysJob job) throws SchedulerException
{
@ -163,7 +163,7 @@ public class SysJobController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')")
@Log(title = "定时任务", businessType = BusinessType.UPDATE)
// @Log(title = "定时任务", businessType = BusinessType.UPDATE)
@PutMapping("/run")
public AjaxResult run(@RequestBody SysJob job) throws SchedulerException
{
@ -175,7 +175,7 @@ public class SysJobController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('monitor:job:remove')")
@Log(title = "定时任务", businessType = BusinessType.DELETE)
// @Log(title = "定时任务", businessType = BusinessType.DELETE)
@DeleteMapping("/{jobIds}")
public AjaxResult remove(@PathVariable Long[] jobIds) throws SchedulerException, TaskException
{

@ -47,7 +47,7 @@ public class SysJobLogController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('monitor:job:export')")
@Log(title = "任务调度日志", businessType = BusinessType.EXPORT)
// @Log(title = "任务调度日志", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, SysJobLog sysJobLog)
{
@ -71,7 +71,7 @@ public class SysJobLogController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('monitor:job:remove')")
@Log(title = "定时任务调度日志", businessType = BusinessType.DELETE)
// @Log(title = "定时任务调度日志", businessType = BusinessType.DELETE)
@DeleteMapping("/{jobLogIds}")
public AjaxResult remove(@PathVariable Long[] jobLogIds)
{
@ -82,7 +82,7 @@ public class SysJobLogController extends BaseController
*
*/
// @PreAuthorize("@ss.hasPermi('monitor:job:remove')")
@Log(title = "调度日志", businessType = BusinessType.CLEAN)
// @Log(title = "调度日志", businessType = BusinessType.CLEAN)
@DeleteMapping("/clean")
public AjaxResult clean()
{

Loading…
Cancel
Save