上传
This commit is contained in:
34
project/jiaqingjiayi/target/classes/mapper/UserMapper.xml
Normal file
34
project/jiaqingjiayi/target/classes/mapper/UserMapper.xml
Normal file
@ -0,0 +1,34 @@
|
||||
<?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.cj.jiaqingjiayi.mapper.UserMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.cj.jiaqingjiayi.model.domain.User">
|
||||
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||
<result property="username" column="username" jdbcType="VARCHAR"/>
|
||||
<result property="userAccount" column="userAccount" jdbcType="VARCHAR"/>
|
||||
<result property="avatarUrl" column="avatarUrl" jdbcType="VARCHAR"/>
|
||||
<result property="gender" column="gender" jdbcType="TINYINT"/>
|
||||
<result property="userPassword" column="userPassword" jdbcType="VARCHAR"/>
|
||||
<result property="phone" column="phone" jdbcType="VARCHAR"/>
|
||||
<result property="email" column="email" jdbcType="VARCHAR"/>
|
||||
<result property="userStatus" column="userStatus" jdbcType="INTEGER"/>
|
||||
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/>
|
||||
<result property="isDelete" column="isDelete" jdbcType="TINYINT"/>
|
||||
<result property="userRole" column="userRole" jdbcType="INTEGER"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 不影响使用,只是idea的自动保护-->
|
||||
<sql id="Base_Column_List">
|
||||
id,username,userAccount,
|
||||
avatarUrl,gender,userPassword,
|
||||
phone,email,userStatus,
|
||||
createTime,updateTime,isDelete,
|
||||
userRole
|
||||
</sql>
|
||||
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user