qingcheng-houduan/src/main/resources/mapper/UserMainInfoMapper.xml
2025-05-07 04:14:21 +08:00

28 lines
1.4 KiB
XML

<?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.UserMainInfoMapper">
<resultMap id="BaseResultMap" type="com.greenorange.promotion.model.entity.UserMainInfo">
<id property="id" column="id" jdbcType="BIGINT"/>
<result property="teamSize" column="teamSize" jdbcType="INTEGER"/>
<result property="parentEarnings" column="parentEarnings" jdbcType="DECIMAL"/>
<result property="currentBalance" column="currentBalance" jdbcType="DECIMAL"/>
<result property="withdrawalAmount" column="withdrawalAmount" jdbcType="DECIMAL"/>
<result property="withdrawnAmount" column="withdrawnAmount" jdbcType="DECIMAL"/>
<result property="totalIncome" column="totalIncome" jdbcType="DECIMAL"/>
<result property="userId" column="userId" jdbcType="BIGINT"/>
<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,teamSize,parentEarnings,
currentBalance,withdrawalAmount,withdrawnAmount,
totalIncome,userId,isDelete,
createTime,updateTime
</sql>
</mapper>