优化代码

This commit is contained in:
TinyAnts
2022-08-09 10:46:31 +08:00
parent cc4ba32145
commit 091bf299e5
55 changed files with 1048 additions and 1061 deletions

View File

@@ -10,7 +10,7 @@ import java.io.Serializable;
* 系统管理员实体
*/
@Data
public class SystemAdmin implements Serializable {
public class SystemAuthAdmin implements Serializable {
private static final long serialVersionUID = 1L;

View File

@@ -10,7 +10,7 @@ import java.io.Serializable;
* 系统岗位实体
*/
@Data
public class SystemDept implements Serializable {
public class SystemAuthDept implements Serializable {
private static final long serialVersionUID = 1L;

View File

@@ -10,7 +10,7 @@ import java.io.Serializable;
* 系统菜单实体
*/
@Data
public class SystemMenu implements Serializable {
public class SystemAuthMenu implements Serializable {
private static final long serialVersionUID = 1L;

View File

@@ -10,7 +10,7 @@ import java.io.Serializable;
* 系统角色菜单实体
*/
@Data
public class SystemRoleMenu implements Serializable {
public class SystemAuthPerm implements Serializable {
private static final long serialVersionUID = 1L;

View File

@@ -7,10 +7,10 @@ import lombok.Data;
import java.io.Serializable;
/**
* 岗位管理
* 系统岗位管理
*/
@Data
public class SystemPost implements Serializable {
public class SystemAuthPost implements Serializable {
private static final long serialVersionUID = 1L;

View File

@@ -10,7 +10,7 @@ import java.io.Serializable;
* 系统角色实体
*/
@Data
public class SystemRole implements Serializable {
public class SystemAuthRole implements Serializable {
private static final long serialVersionUID = 1L;

View File

@@ -0,0 +1,12 @@
package com.hxkj.common.mapper.system;
import com.hxkj.common.core.basics.IBaseMapper;
import com.hxkj.common.entity.system.SystemAuthAdmin;
import org.apache.ibatis.annotations.Mapper;
/**
* 系统管理员Mapper
*/
@Mapper
public interface SystemAuthAdminMapper extends IBaseMapper<SystemAuthAdmin> {
}

View File

@@ -1,12 +1,12 @@
package com.hxkj.common.mapper.system;
import com.hxkj.common.core.basics.IBaseMapper;
import com.hxkj.common.entity.system.SystemMenu;
import com.hxkj.common.entity.system.SystemAuthDept;
import org.apache.ibatis.annotations.Mapper;
/**
* 系统菜单
* 系统岗位Mapper
*/
@Mapper
public interface SystemMenuMapper extends IBaseMapper<SystemMenu> {
public interface SystemAuthDeptMapper extends IBaseMapper<SystemAuthDept> {
}

View File

@@ -1,12 +1,12 @@
package com.hxkj.common.mapper.system;
import com.hxkj.common.core.basics.IBaseMapper;
import com.hxkj.common.entity.system.SystemPost;
import com.hxkj.common.entity.system.SystemAuthMenu;
import org.apache.ibatis.annotations.Mapper;
/**
* 系统岗位
* 系统菜单Mapper
*/
@Mapper
public interface SystemPostMapper extends IBaseMapper<SystemPost> {
public interface SystemAuthMenuMapper extends IBaseMapper<SystemAuthMenu> {
}

View File

@@ -1,12 +1,12 @@
package com.hxkj.common.mapper.system;
import com.hxkj.common.core.basics.IBaseMapper;
import com.hxkj.common.entity.system.SystemAdmin;
import com.hxkj.common.entity.system.SystemAuthPerm;
import org.apache.ibatis.annotations.Mapper;
/**
* 系统管理员
* 角色菜单Mapper
*/
@Mapper
public interface SystemAdminMapper extends IBaseMapper<SystemAdmin> {
public interface SystemAuthPermMapper extends IBaseMapper<SystemAuthPerm> {
}

View File

@@ -1,12 +1,12 @@
package com.hxkj.common.mapper.system;
import com.hxkj.common.core.basics.IBaseMapper;
import com.hxkj.common.entity.system.SystemDept;
import com.hxkj.common.entity.system.SystemAuthPost;
import org.apache.ibatis.annotations.Mapper;
/**
* 系统岗位
* 系统岗位Mapper
*/
@Mapper
public interface SystemDeptMapper extends IBaseMapper<SystemDept> {
public interface SystemAuthPostMapper extends IBaseMapper<SystemAuthPost> {
}

View File

@@ -0,0 +1,12 @@
package com.hxkj.common.mapper.system;
import com.hxkj.common.core.basics.IBaseMapper;
import com.hxkj.common.entity.system.SystemAuthRole;
import org.apache.ibatis.annotations.Mapper;
/**
* 系统角色Mapper
*/
@Mapper
public interface SystemAuthRoleMapper extends IBaseMapper<SystemAuthRole> {
}

View File

@@ -1,12 +0,0 @@
package com.hxkj.common.mapper.system;
import com.hxkj.common.core.basics.IBaseMapper;
import com.hxkj.common.entity.system.SystemRole;
import org.apache.ibatis.annotations.Mapper;
/**
* 系统角色
*/
@Mapper
public interface SystemRoleMapper extends IBaseMapper<SystemRole> {
}

View File

@@ -1,12 +0,0 @@
package com.hxkj.common.mapper.system;
import com.hxkj.common.core.basics.IBaseMapper;
import com.hxkj.common.entity.system.SystemRoleMenu;
import org.apache.ibatis.annotations.Mapper;
/**
* 角色菜单
*/
@Mapper
public interface SystemRoleMenuMapper extends IBaseMapper<SystemRoleMenu> {
}