顾挽11.13

This commit is contained in:
顾挽 2024-11-13 18:20:40 +08:00
parent 2a60121f32
commit 06c042b523
27 changed files with 1949 additions and 160 deletions

View File

@ -12,13 +12,13 @@ import java.util.List;
@JsonInclude(JsonInclude.Include.NON_NULL) @JsonInclude(JsonInclude.Include.NON_NULL)
public class RouterMeta { public class RouterMeta {
/*@ApiModelProperty(value = "标题")*/
private String title; private String title;
/*@ApiModelProperty(value = "排序权重")*/
private List<String> auths; private List<String> auths;
/*@ApiModelProperty(value = "角色列表")*/
private List<String> roles; private List<String> roles;

1946
sql/studb.sql Normal file

File diff suppressed because one or more lines are too long

View File

@ -1,38 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="generator.mapper.SystemMenuMapper">
<resultMap id="BaseResultMap" type="generator.RBAC.SystemMenu">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="name" column="name" jdbcType="VARCHAR"/>
<result property="permission" column="permission" jdbcType="VARCHAR"/>
<result property="type" column="type" jdbcType="TINYINT"/>
<result property="sort" column="sort" jdbcType="INTEGER"/>
<result property="parentId" column="parent_id" jdbcType="BIGINT"/>
<result property="path" column="path" jdbcType="VARCHAR"/>
<result property="icon" column="icon" jdbcType="VARCHAR"/>
<result property="component" column="component" jdbcType="VARCHAR"/>
<result property="componentName" column="component_name" jdbcType="VARCHAR"/>
<result property="status" column="status" jdbcType="TINYINT"/>
<result property="visible" column="visible" jdbcType="BIT"/>
<result property="keepAlive" column="keep_alive" jdbcType="BIT"/>
<result property="alwaysShow" column="always_show" jdbcType="BIT"/>
<result property="creator" column="creator" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updater" column="updater" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
<result property="deleted" column="deleted" jdbcType="BIT"/>
</resultMap>
<sql id="Base_Column_List">
id,name,permission,
type,sort,parent_id,
path,icon,component,
component_name,status,visible,
keep_alive,always_show,creator,
create_time,updater,update_time,
deleted
</sql>
</mapper>

View File

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="generator.mapper.SystemRoleMapper">
<resultMap id="BaseResultMap" type="generator.RBAC.SystemRole">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="name" column="name" jdbcType="VARCHAR"/>
<result property="code" column="code" jdbcType="VARCHAR"/>
<result property="sort" column="sort" jdbcType="INTEGER"/>
<result property="dataScope" column="data_scope" jdbcType="TINYINT"/>
<result property="dataScopeDeptIds" column="data_scope_dept_ids" jdbcType="VARCHAR"/>
<result property="status" column="status" jdbcType="TINYINT"/>
<result property="type" column="type" jdbcType="TINYINT"/>
<result property="remark" column="remark" jdbcType="VARCHAR"/>
<result property="creator" column="creator" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updater" column="updater" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
<result property="deleted" column="deleted" jdbcType="BIT"/>
<result property="tenantId" column="tenant_id" jdbcType="BIGINT"/>
</resultMap>
<sql id="Base_Column_List">
id,name,code,
sort,data_scope,data_scope_dept_ids,
status,type,remark,
creator,create_time,updater,
update_time,deleted,tenant_id
</sql>
</mapper>

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="generator.mapper.SystemRoleMenuMapper">
<resultMap id="BaseResultMap" type="generator.RBAC.SystemRoleMenu">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="roleId" column="role_id" jdbcType="BIGINT"/>
<result property="menuId" column="menu_id" jdbcType="BIGINT"/>
<result property="creator" column="creator" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updater" column="updater" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
<result property="deleted" column="deleted" jdbcType="BIT"/>
<result property="tenantId" column="tenant_id" jdbcType="BIGINT"/>
</resultMap>
<sql id="Base_Column_List">
id,role_id,menu_id,
creator,create_time,updater,
update_time,deleted,tenant_id
</sql>
</mapper>

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="generator.mapper.SystemUserRoleMapper">
<resultMap id="BaseResultMap" type="generator.RBAC.SystemUserRole">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="userId" column="user_id" jdbcType="BIGINT"/>
<result property="roleId" column="role_id" jdbcType="BIGINT"/>
<result property="creator" column="creator" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updater" column="updater" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
<result property="deleted" column="deleted" jdbcType="BIT"/>
<result property="tenantId" column="tenant_id" jdbcType="BIGINT"/>
</resultMap>
<sql id="Base_Column_List">
id,user_id,role_id,
creator,create_time,updater,
update_time,deleted,tenant_id
</sql>
</mapper>

View File

@ -1,39 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="generator.mapper.SystemUsersMapper">
<resultMap id="BaseResultMap" type="generator.RBAC.SystemUsers">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="username" column="username" jdbcType="VARCHAR"/>
<result property="password" column="password" jdbcType="VARCHAR"/>
<result property="nickname" column="nickname" jdbcType="VARCHAR"/>
<result property="remark" column="remark" jdbcType="VARCHAR"/>
<result property="deptId" column="dept_id" jdbcType="BIGINT"/>
<result property="postIds" column="post_ids" jdbcType="VARCHAR"/>
<result property="email" column="email" jdbcType="VARCHAR"/>
<result property="mobile" column="mobile" jdbcType="VARCHAR"/>
<result property="sex" column="sex" jdbcType="TINYINT"/>
<result property="avatar" column="avatar" jdbcType="VARCHAR"/>
<result property="status" column="status" jdbcType="TINYINT"/>
<result property="loginIp" column="login_ip" jdbcType="VARCHAR"/>
<result property="loginDate" column="login_date" jdbcType="TIMESTAMP"/>
<result property="creator" column="creator" jdbcType="VARCHAR"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updater" column="updater" jdbcType="VARCHAR"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
<result property="deleted" column="deleted" jdbcType="BIT"/>
<result property="tenantId" column="tenant_id" jdbcType="BIGINT"/>
</resultMap>
<sql id="Base_Column_List">
id,username,password,
nickname,remark,dept_id,
post_ids,email,mobile,
sex,avatar,status,
login_ip,login_date,creator,
create_time,updater,update_time,
deleted,tenant_id
</sql>
</mapper>