|
@@ -8,6 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="id" column="id" />
|
|
<result property="id" column="id" />
|
|
<result property="name" column="name" />
|
|
<result property="name" column="name" />
|
|
<result property="cKey" column="c_key" />
|
|
<result property="cKey" column="c_key" />
|
|
|
|
+ <result property="type" column="type" />
|
|
<result property="channelKey" column="channel_key" />
|
|
<result property="channelKey" column="channel_key" />
|
|
<result property="rate" column="rate" />
|
|
<result property="rate" column="rate" />
|
|
<result property="withdrawRate" column="withdraw_rate" />
|
|
<result property="withdrawRate" column="withdraw_rate" />
|
|
@@ -28,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectAppChargeChannelVo">
|
|
<sql id="selectAppChargeChannelVo">
|
|
- select id, name,c_key, channel_key,channel_no, rate,withdraw_rate,is_show, logo_url, company, app_id, app_secret, third_url, status, cert_path, ali_public_cert, ali_apply_cert, ali_ca_cert, merchant_no, api_secret, orderno from app_charge_channel
|
|
|
|
|
|
+ select id, name,c_key,type, channel_key,channel_no, rate,withdraw_rate,is_show, logo_url, company, app_id, app_secret, third_url, status, cert_path, ali_public_cert, ali_apply_cert, ali_ca_cert, merchant_no, api_secret, orderno from app_charge_channel
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectAppChargeChannelList" parameterType="com.game.business.domain.AppChargeChannel" resultMap="AppChargeChannelResult">
|
|
<select id="selectAppChargeChannelList" parameterType="com.game.business.domain.AppChargeChannel" resultMap="AppChargeChannelResult">
|
|
@@ -37,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
|
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
|
<if test="channelKey != null and channelKey != ''"> and channel_key = #{channelKey}</if>
|
|
<if test="channelKey != null and channelKey != ''"> and channel_key = #{channelKey}</if>
|
|
<if test="cKey != null and cKey != ''"> and c_key = #{cKey}</if>
|
|
<if test="cKey != null and cKey != ''"> and c_key = #{cKey}</if>
|
|
|
|
+ <if test="type != null"> and type = #{type}</if>
|
|
<if test="channelNo != null and channelNo != ''"> and channel_no = #{channelNo}</if>
|
|
<if test="channelNo != null and channelNo != ''"> and channel_no = #{channelNo}</if>
|
|
<if test="rate != null "> and rate = #{rate}</if>
|
|
<if test="rate != null "> and rate = #{rate}</if>
|
|
<if test="withdrawRate != null "> and withdraw_rate = #{withdrawRate}</if>
|
|
<if test="withdrawRate != null "> and withdraw_rate = #{withdrawRate}</if>
|
|
@@ -70,6 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="name != null">name,</if>
|
|
<if test="name != null">name,</if>
|
|
<if test="channelKey != null">channel_key,</if>
|
|
<if test="channelKey != null">channel_key,</if>
|
|
<if test="cKey != null and cKey != ''">c_key,</if>
|
|
<if test="cKey != null and cKey != ''">c_key,</if>
|
|
|
|
+ <if test="type != null">type,</if>
|
|
<if test="channelNo != null">channel_no,</if>
|
|
<if test="channelNo != null">channel_no,</if>
|
|
<if test="rate != null">rate,</if>
|
|
<if test="rate != null">rate,</if>
|
|
<if test="withdrawRate != null">withdraw_rate,</if>
|
|
<if test="withdrawRate != null">withdraw_rate,</if>
|
|
@@ -92,6 +95,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="id != null">#{id},</if>
|
|
<if test="id != null">#{id},</if>
|
|
<if test="name != null">#{name},</if>
|
|
<if test="name != null">#{name},</if>
|
|
<if test="cKey != null">#{cKey},</if>
|
|
<if test="cKey != null">#{cKey},</if>
|
|
|
|
+ <if test="type != null">#{type},</if>
|
|
<if test="channelKey != null">#{channelKey},</if>
|
|
<if test="channelKey != null">#{channelKey},</if>
|
|
<if test="channelNo != null">#{channelNo},</if>
|
|
<if test="channelNo != null">#{channelNo},</if>
|
|
<if test="rate != null">#{rate},</if>
|
|
<if test="rate != null">#{rate},</if>
|
|
@@ -118,6 +122,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<if test="name != null">name = #{name},</if>
|
|
<if test="name != null">name = #{name},</if>
|
|
<if test="cKey != null">c_key = #{cKey},</if>
|
|
<if test="cKey != null">c_key = #{cKey},</if>
|
|
|
|
+ <if test="type != null">type = #{type},</if>
|
|
<if test="channelKey != null">channel_key = #{channelKey},</if>
|
|
<if test="channelKey != null">channel_key = #{channelKey},</if>
|
|
<if test="channelNo != null">channel_no = #{channelNo},</if>
|
|
<if test="channelNo != null">channel_no = #{channelNo},</if>
|
|
<if test="rate != null">rate = #{rate},</if>
|
|
<if test="rate != null">rate = #{rate},</if>
|