refactor: 项目结构合理性优化

This commit is contained in:
haoxr
2023-06-03 11:03:12 +08:00
parent 808c33789c
commit 532b632ccc
124 changed files with 419 additions and 414 deletions

View File

@@ -4,7 +4,7 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.youlai.system.mapper.SysDeptMapper">
<resultMap id="BaseResultMap" type="com.youlai.system.pojo.entity.SysDept">
<resultMap id="BaseResultMap" type="com.youlai.system.model.entity.SysDept">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="name" column="name" jdbcType="VARCHAR"/>
<result property="parentId" column="parent_id" jdbcType="BIGINT"/>

View File

@@ -4,7 +4,7 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.youlai.system.mapper.SysDictTypeMapper">
<resultMap id="BaseResultMap" type="com.youlai.system.pojo.entity.SysDictType">
<resultMap id="BaseResultMap" type="com.youlai.system.model.entity.SysDictType">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="name" column="name" jdbcType="VARCHAR"/>
<result property="code" column="code" jdbcType="VARCHAR"/>

View File

@@ -5,7 +5,7 @@
<mapper namespace="com.youlai.system.mapper.SysMenuMapper">
<!-- 菜单路由映射 -->
<resultMap id="RouteMap" type="com.youlai.system.pojo.bo.RouteBO">
<resultMap id="RouteMap" type="com.youlai.system.model.bo.RouteBO">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="name" column="name" jdbcType="VARCHAR"/>
<result property="parentId" column="parent_id" jdbcType="BIGINT"/>

View File

@@ -5,7 +5,7 @@
<mapper namespace="com.youlai.system.mapper.SysUserMapper">
<!-- 用户分页列表 -->
<select id="getUserPage" resultType="com.youlai.system.pojo.bo.UserBO">
<select id="getUserPage" resultType="com.youlai.system.model.bo.UserBO">
SELECT
u.id,
u.username,
@@ -42,7 +42,7 @@
</select>
<!-- 用户表单信息映射 -->
<resultMap id="UserFormMap" type="com.youlai.system.pojo.bo.UserFormBO">
<resultMap id="UserFormMap" type="com.youlai.system.model.bo.UserFormBO">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="username" column="username" jdbcType="VARCHAR"/>
<result property="nickname" column="nickname" jdbcType="VARCHAR"/>
@@ -77,7 +77,7 @@
</select>
<!-- 用户认证信息映射 -->
<resultMap id="UserAuthMap" type="com.youlai.system.pojo.bo.UserAuthInfo">
<resultMap id="UserAuthMap" type="com.youlai.system.model.dto.UserAuthInfo">
<id property="userId" column="userId" jdbcType="BIGINT"/>
<result property="username" column="username" jdbcType="VARCHAR"/>
<result property="password" column="password" jdbcType="VARCHAR"/>
@@ -107,7 +107,7 @@
</select>
<!-- 获取用户导出列表 -->
<select id="listExportUsers" resultType="com.youlai.system.pojo.vo.UserExportVO">
<select id="listExportUsers" resultType="com.youlai.system.model.vo.UserExportVO">
SELECT
u.username,
u.nickname,