feat: 角色权限模块

This commit is contained in:
2024-02-19 17:44:10 +08:00
parent 04af7fca2a
commit 1ac0ec5313
45 changed files with 834 additions and 50 deletions

View File

@@ -26,7 +26,7 @@ public interface AuthRoleService {
* @param authRole 实例对象
* @return 实例对象
*/
int insert(AuthRole authRole);
Integer insert(AuthRole authRole);
/**
* 修改数据
@@ -34,7 +34,7 @@ public interface AuthRoleService {
* @param authRole 实例对象
* @return 实例对象
*/
int update(AuthRole authRole);
Integer update(AuthRole authRole);
/**
* 通过主键删除数据

View File

@@ -12,7 +12,6 @@ import java.util.List;
* (AuthPermission)表服务实现类
*
* @author landaiqing
* @since 2023-11-03 00:45:50
*/
@Service("authPermissionService")
public class AuthPermissionServiceImpl implements AuthPermissionService {

View File

@@ -12,7 +12,6 @@ import java.util.List;
* (AuthRolePermission)表服务实现类
*
* @author landaiqing
* @since 2023-11-04 22:16:00
*/
@Service("authRolePermissionService")
public class AuthRolePermissionServiceImpl implements AuthRolePermissionService {

View File

@@ -37,7 +37,7 @@ public class AuthRoleServiceImpl implements AuthRoleService {
* @return 实例对象
*/
@Override
public int insert(AuthRole authRole) {
public Integer insert(AuthRole authRole) {
return this.authRoleDao.insert(authRole);
}
@@ -48,7 +48,7 @@ public class AuthRoleServiceImpl implements AuthRoleService {
* @return 实例对象
*/
@Override
public int update(AuthRole authRole) {
public Integer update(AuthRole authRole) {
return this.authRoleDao.update(authRole);
}

View File

@@ -11,7 +11,6 @@ import javax.annotation.Resource;
* (AuthUserRole)表服务实现类
*
* @author landaiqing
* @since 2023-11-03 00:18:09
*/
@Service("authUserRoleService")
public class AuthUserRoleServiceImpl implements AuthUserRoleService {

View File

@@ -12,7 +12,6 @@ import java.util.List;
* (AuthUser)表服务实现类
*
* @author landaiqing
* @since 2023-11-01 01:25:23
*/
@Service("authUserService")
public class AuthUserServiceImpl implements AuthUserService {