21 lines
1.1 KiB
XML
21 lines
1.1 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="cn.iocoder.yudao.module.custom.mapper.BasePromotionMapper">
|
||
|
|
|
||
|
|
<resultMap id="BaseResultMap" type="cn.iocoder.yudao.module.custom.entity.BasePromotion">
|
||
|
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||
|
|
<result property="oldUserId" column="old_user_id" jdbcType="BIGINT"/>
|
||
|
|
<result property="oldUserName" column="old_user_name" jdbcType="VARCHAR"/>
|
||
|
|
<result property="promotionChannel" column="promotion_channel" jdbcType="VARCHAR"/>
|
||
|
|
<result property="newUserId" column="new_user_id" jdbcType="BIGINT"/>
|
||
|
|
<result property="newUserName" column="new_user_name" jdbcType="VARCHAR"/>
|
||
|
|
<result property="registerTime" column="register_time" jdbcType="TIMESTAMP"/>
|
||
|
|
<result property="uniqueCode" column="unique_code" jdbcType="VARCHAR"/>
|
||
|
|
</resultMap>
|
||
|
|
|
||
|
|
<select id="queryListPage" resultMap="BaseResultMap">
|
||
|
|
select * from base_promotion
|
||
|
|
</select>
|
||
|
|
</mapper>
|