旗开得胜
This commit is contained in:
28
src/main/resources/mapper/UserInfoMapper.xml
Normal file
28
src/main/resources/mapper/UserInfoMapper.xml
Normal file
@ -0,0 +1,28 @@
|
||||
<?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.greenorange.promotion.mapper.UserInfoMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.greenorange.promotion.model.entity.UserInfo">
|
||||
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||
<result property="nickName" column="nickName" jdbcType="VARCHAR"/>
|
||||
<result property="userAvatar" column="userAvatar" jdbcType="VARCHAR"/>
|
||||
<result property="phoneNumber" column="phoneNumber" jdbcType="VARCHAR"/>
|
||||
<result property="userPassword" column="userPassword" jdbcType="VARCHAR"/>
|
||||
<result property="invitationCode" column="invitationCode" jdbcType="VARCHAR"/>
|
||||
<result property="userRole" column="userRole" jdbcType="OTHER"/>
|
||||
<result property="parentUserId" column="parentUserId" jdbcType="BIGINT"/>
|
||||
<result property="superUserList" column="superUserList" jdbcType="VARCHAR"/>
|
||||
<result property="isDelete" column="isDelete" jdbcType="TINYINT"/>
|
||||
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,nickName,userAvatar,
|
||||
phoneNumber,userPassword,invitationCode,
|
||||
userRole,parentUserId,superUserList,
|
||||
isDelete,createTime,updateTime
|
||||
</sql>
|
||||
</mapper>
|
Reference in New Issue
Block a user