mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-09-06 23:01:08 +08:00
优化代码
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
@@ -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> {
|
||||
}
|
||||
Reference in New Issue
Block a user