From b9edde2fd2c20eabb442c43607a4bb37b2800fe4 Mon Sep 17 00:00:00 2001 From: qi_liang Date: Sun, 2 Dec 2018 15:11:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9D=83=E9=99=90bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/lq/cms/service/SysRoleService.java | 4 ++++ src/main/java/com/lq/cms/service/SysUserService.java | 3 +++ src/main/java/com/lq/cms/web/sys/LogController.java | 1 - 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/lq/cms/service/SysRoleService.java b/src/main/java/com/lq/cms/service/SysRoleService.java index f6f5550..54bd98a 100644 --- a/src/main/java/com/lq/cms/service/SysRoleService.java +++ b/src/main/java/com/lq/cms/service/SysRoleService.java @@ -4,6 +4,7 @@ import com.lq.cms.vo.SysRoleVo; import com.lq.cms.vo.SysUserRoleVo; import com.lq.code.service.BaseService; import com.lq.entity.SysRole; +import org.apache.bcel.verifier.statics.LONG_Upper; import java.util.List; @@ -11,6 +12,7 @@ import java.util.List; * Created by qi_liang on 2018/6/21. */ public interface SysRoleService extends BaseService { + Integer count(SysRoleVo vo); List findListPage(SysRoleVo vo); @@ -18,4 +20,6 @@ public interface SysRoleService extends BaseService { List findAllRoleVo(Long userId); List findByUserId(Long userId); + + void deleteRole(Long roleId); } diff --git a/src/main/java/com/lq/cms/service/SysUserService.java b/src/main/java/com/lq/cms/service/SysUserService.java index 61b0fea..c2c87c1 100644 --- a/src/main/java/com/lq/cms/service/SysUserService.java +++ b/src/main/java/com/lq/cms/service/SysUserService.java @@ -3,6 +3,7 @@ package com.lq.cms.service; import com.lq.cms.vo.SysUserVo; import com.lq.code.service.BaseService; import com.lq.entity.SysUser; +import org.apache.bcel.verifier.statics.LONG_Upper; import java.util.List; @@ -18,4 +19,6 @@ public interface SysUserService extends BaseService { SysUser findByLoginNameAndPassword(String loginName, String password); SysUser findByEmail(String email); + + void deleteUserById(Long userId); } diff --git a/src/main/java/com/lq/cms/web/sys/LogController.java b/src/main/java/com/lq/cms/web/sys/LogController.java index 340f884..14e55d9 100644 --- a/src/main/java/com/lq/cms/web/sys/LogController.java +++ b/src/main/java/com/lq/cms/web/sys/LogController.java @@ -34,7 +34,6 @@ public class LogController { @RequiresPermissions("/cms/log/index:SELECT") public ModelAndView index(ModelAndView modelAndView){ modelAndView.setViewName("cms/sys/log/index"); - return modelAndView; }