init
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?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="com.yx.exam.modules.dict.mapper.SysDictDataMapper">
|
||||
<mapper namespace="com.bc.exam.modules.dict.mapper.SysDictDataMapper">
|
||||
|
||||
</mapper>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?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="com.yx.exam.modules.dict.mapper.SysDictTypeMapper">
|
||||
<mapper namespace="com.bc.exam.modules.dict.mapper.SysDictTypeMapper">
|
||||
|
||||
</mapper>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?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="com.yx.exam.modules.gonggao.mapper.TGonggaoMapper">
|
||||
<mapper namespace="com.bc.exam.modules.gonggao.mapper.TGonggaoMapper">
|
||||
|
||||
</mapper>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?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="com.yx.exam.modules.liuyan.mapper.TLiuyanMapper">
|
||||
<mapper namespace="com.bc.exam.modules.liuyan.mapper.TLiuyanMapper">
|
||||
|
||||
</mapper>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?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="com.yx.exam.modules.tlog.mapper.TLogMapper">
|
||||
<mapper namespace="com.bc.exam.modules.tlog.mapper.TLogMapper">
|
||||
|
||||
</mapper>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?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="com.yx.exam.modules.student.mapper.StudentMapper">
|
||||
<mapper namespace="com.bc.exam.modules.student.mapper.StudentMapper">
|
||||
|
||||
<select id="paging" resultType="com.yx.exam.modules.student.entity.Student">
|
||||
<select id="paging" resultType="com.bc.exam.modules.student.entity.Student">
|
||||
select a.*,b.dwmc,b.tyshxydm,b.dwxz,b.dwhy,b.txdzsf,b.txdzs,b.txdzq,b.gwmc,b.dwlxr,b.dwlxrlxdh,b.lxryx,b.txxxdz from student a inner join quxiang b on a.id=b.id ${ew.customSqlSegment}
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?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="com.yx.exam.modules.depart.mapper.SysDepartMapper">
|
||||
<mapper namespace="com.bc.exam.modules.depart.mapper.SysDepartMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="BaseResultMap" type="com.yx.exam.modules.depart.entity.SysDepart">
|
||||
<resultMap id="BaseResultMap" type="com.bc.exam.modules.depart.entity.SysDepart">
|
||||
<id column="id" property="id" />
|
||||
<result column="dept_type" property="deptType" />
|
||||
<result column="parent_id" property="parentId" />
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
<resultMap id="TreeResultMap"
|
||||
type="com.yx.exam.modules.depart.dto.response.SysDepartTreeDTO"
|
||||
type="com.bc.exam.modules.depart.dto.response.SysDepartTreeDTO"
|
||||
extends="BaseResultMap">
|
||||
<collection property="children" column="id" select="findChildren"></collection>
|
||||
</resultMap>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?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="com.yx.exam.modules.system.mapper.SysDictMapper">
|
||||
<mapper namespace="com.bc.exam.modules.system.mapper.SysDictMapper">
|
||||
|
||||
<select id="findDict" resultType="String">
|
||||
SELECT ${text} FROM ${table} WHERE ${key}=${value} LIMIT 1
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?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="com.yx.exam.modules.sys.user.mapper.SysRoleMapper">
|
||||
<mapper namespace="com.bc.exam.modules.sys.user.mapper.SysRoleMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="BaseResultMap" type="com.yx.exam.modules.user.entity.SysRole">
|
||||
<resultMap id="BaseResultMap" type="com.bc.exam.modules.user.entity.SysRole">
|
||||
<id column="id" property="id" />
|
||||
<result column="role_name" property="roleName" />
|
||||
</resultMap>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?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="com.yx.exam.modules.sys.user.mapper.SysUserMapper">
|
||||
<mapper namespace="com.bc.exam.modules.sys.user.mapper.SysUserMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="BaseResultMap" type="com.yx.exam.modules.user.entity.SysUser">
|
||||
<resultMap id="BaseResultMap" type="com.bc.exam.modules.user.entity.SysUser">
|
||||
<id column="id" property="id" />
|
||||
<result column="user_name" property="userName" />
|
||||
<result column="real_name" property="realName" />
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?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="com.yx.exam.modules.sys.user.mapper.SysUserRoleMapper">
|
||||
<mapper namespace="com.bc.exam.modules.sys.user.mapper.SysUserRoleMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="BaseResultMap" type="com.yx.exam.modules.user.entity.SysUserRole">
|
||||
<resultMap id="BaseResultMap" type="com.bc.exam.modules.user.entity.SysUserRole">
|
||||
<id column="id" property="id" />
|
||||
<result column="user_id" property="userId" />
|
||||
<result column="role_id" property="roleId" />
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?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="com.yx.exam.modules.tjhxxb.mapper.TJhxxbMapper">
|
||||
<mapper namespace="com.bc.exam.modules.tjhxxb.mapper.TJhxxbMapper">
|
||||
|
||||
|
||||
<select id="paging" resultType="com.yx.exam.modules.tjhxxb.entity.TJhxxb">
|
||||
<select id="paging" resultType="com.bc.exam.modules.tjhxxb.entity.TJhxxb">
|
||||
select a.*,b.isbn,b.b_name,b.b_type,b.b_price,b.b_author,b.b_publisher,
|
||||
b.b_publication_time,b.b_num,b.b_not_return_num,b.b_path,
|
||||
b.b_introduce,b.b_lend_num,b.b_state
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?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="com.yx.exam.modules.tsjxxb.mapper.TSjxxbMapper">
|
||||
<mapper namespace="com.bc.exam.modules.tsjxxb.mapper.TSjxxbMapper">
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user