qingcheng-houduan/src/main/resources/mapper/UserMapper.xml

28 lines
1.4 KiB
XML
Raw Normal View History

2025-04-01 03:48:31 +00:00
<?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.UserMapper">
<resultMap id="BaseResultMap" type="com.greenorange.promotion.model.entity.User">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="userAccount" column="userAccount" jdbcType="VARCHAR"/>
<result property="userPassword" column="userPassword" jdbcType="VARCHAR"/>
<result property="miniOpenId" column="miniOpenId" jdbcType="VARCHAR"/>
<result property="userName" column="userName" jdbcType="VARCHAR"/>
<result property="userAvatar" column="userAvatar" jdbcType="VARCHAR"/>
<result property="points" column="points" jdbcType="INTEGER"/>
<result property="userRole" column="userRole" jdbcType="VARCHAR"/>
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/>
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/>
<result property="isDelete" column="isDelete" jdbcType="TINYINT"/>
</resultMap>
<sql id="Base_Column_List">
id,userAccount,userPassword,
miniOpenId,userName,userAvatar,
points,userRole,createTime,
updateTime,isDelete
</sql>
</mapper>