ChannelFeeMapperAuto.xml 1.62 KB
<?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.lecuntao.ordering.customization.dal.ChannelFeeMapper">

    <resultMap id="channelFeePO" type="com.lecuntao.ordering.customization.po.ChannelFeePO">
        <result column="closeTime" jdbcType="DATE" property="closeTime"/>
        <result column="id" jdbcType="BIGINT" property="id"/>
        <result column="NAME" jdbcType="VARCHAR" property="name"/>
        <result column="TYPE" jdbcType="VARCHAR" property="type"/>
        <result column="total" jdbcType="NUMERIC" property="total"/>

    </resultMap>

    <resultMap id="channelFeeDetailPO" type="com.lecuntao.ordering.customization.po.ChannelFeeDetailPO">
        <result column="id" jdbcType="BIGINT" property="id"/>
        <result column="payType" jdbcType="VARCHAR" property="payType"/>
        <result column="memberName" jdbcType="VARCHAR" property="memberName"/>
        <result column="memberType" jdbcType="VARCHAR" property="memberType"/>
        <result column="totalAmount" jdbcType="NUMERIC" property="totalAmount"/>
        <result column="revenueAmount" jdbcType="NUMERIC" property="revenueAmount"/>
        <result column="channelFee" jdbcType="NUMERIC" property="channelFee"/>
        <result column="sourceNumber" jdbcType="VARCHAR" property="sourceNumber"/>
        <result column="name" jdbcType="VARCHAR" property="name"/>
        <result column="storeName" jdbcType="VARCHAR" property="storeName"/>
        <result column="dateId" jdbcType="INTEGER" property="dateId"/>

    </resultMap>
</mapper>