|
@@ -9,6 +9,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="name" column="name" />
|
|
|
<result property="channelKey" column="channel_key" />
|
|
|
<result property="rate" column="rate" />
|
|
|
+ <result property="withdrawRate" column="withdraw_rate" />
|
|
|
+ <result property="isShow" column="is_show" />
|
|
|
<result property="logoUrl" column="logo_url" />
|
|
|
<result property="company" column="company" />
|
|
|
<result property="appId" column="app_id" />
|
|
@@ -25,7 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectAppChargeChannelVo">
|
|
|
- select id, name, channel_key, rate, 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, channel_key, 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>
|
|
|
|
|
|
<select id="selectAppChargeChannelList" parameterType="com.game.business.domain.AppChargeChannel" resultMap="AppChargeChannelResult">
|
|
@@ -34,6 +36,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<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="rate != null "> and rate = #{rate}</if>
|
|
|
+ <if test="withdrawRate != null "> and withdraw_rate = #{withdrawRate}</if>
|
|
|
+ <if test="isShow != null "> and is_show = #{isShow}</if>
|
|
|
<if test="logoUrl != null and logoUrl != ''"> and logo_url = #{logoUrl}</if>
|
|
|
<if test="company != null and company != ''"> and company = #{company}</if>
|
|
|
<if test="appId != null and appId != ''"> and app_id = #{appId}</if>
|
|
@@ -62,6 +66,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="name != null">name,</if>
|
|
|
<if test="channelKey != null">channel_key,</if>
|
|
|
<if test="rate != null">rate,</if>
|
|
|
+ <if test="withdrawRate != null">withdraw_rate,</if>
|
|
|
+ <if test="isShow != null">is_show,</if>
|
|
|
<if test="logoUrl != null">logo_url,</if>
|
|
|
<if test="company != null">company,</if>
|
|
|
<if test="appId != null">app_id,</if>
|
|
@@ -81,6 +87,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="name != null">#{name},</if>
|
|
|
<if test="channelKey != null">#{channelKey},</if>
|
|
|
<if test="rate != null">#{rate},</if>
|
|
|
+ <if test="withdrawRate != null">#{withdrawRate},</if>
|
|
|
+ <if test="isShow != null">#{isShow},</if>
|
|
|
<if test="logoUrl != null">#{logoUrl},</if>
|
|
|
<if test="company != null">#{company},</if>
|
|
|
<if test="appId != null">#{appId},</if>
|
|
@@ -103,6 +111,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="name != null">name = #{name},</if>
|
|
|
<if test="channelKey != null">channel_key = #{channelKey},</if>
|
|
|
<if test="rate != null">rate = #{rate},</if>
|
|
|
+ <if test="withdrawRate != null">withdraw_rate = #{withdrawRate},</if>
|
|
|
+ <if test="isShow != null">is_show = #{isShow},</if>
|
|
|
<if test="logoUrl != null">logo_url = #{logoUrl},</if>
|
|
|
<if test="company != null">company = #{company},</if>
|
|
|
<if test="appId != null">app_id = #{appId},</if>
|