mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-25 21:45:08 +08:00
update 支付宝小程序
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
<result property="servicePhone" column="service_phone"/>
|
||||
<result property="logoUrl" column="logo_url"/>
|
||||
<result property="appId" column="app_id"/>
|
||||
<result property="alipayAppId" column="alipay_app_id"/>
|
||||
<result property="deptId" column="dept_id"/>
|
||||
<result property="createBy" column="create_by"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
@@ -39,6 +40,7 @@
|
||||
service_phone,
|
||||
logo_url,
|
||||
app_id,
|
||||
alipay_app_id,
|
||||
dept_id,
|
||||
create_by,
|
||||
create_time,
|
||||
@@ -153,6 +155,9 @@
|
||||
<if test="appId != null">
|
||||
app_id,
|
||||
</if>
|
||||
<if test="alipayAppId != null">
|
||||
alipay_app_id,
|
||||
</if>
|
||||
<if test="deptId != null">
|
||||
dept_id,
|
||||
</if>
|
||||
@@ -212,6 +217,9 @@
|
||||
<if test="appId != null">
|
||||
#{appId},
|
||||
</if>
|
||||
<if test="alipayAppId != null">
|
||||
#{alipayAppId},
|
||||
</if>
|
||||
<if test="deptId != null">
|
||||
#{deptId},
|
||||
</if>
|
||||
@@ -272,6 +280,9 @@
|
||||
<if test="appId != null">
|
||||
app_id = #{appId},
|
||||
</if>
|
||||
<if test="alipayAppId != null">
|
||||
alipay_app_id = #{alipayAppId},
|
||||
</if>
|
||||
<if test="createBy != null">
|
||||
create_by = #{createBy},
|
||||
</if>
|
||||
@@ -306,7 +317,7 @@
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<select id="selectPileMerchantInfoByAppId" resultMap="PileMerchantInfoResult">
|
||||
<select id="selectPileMerchantInfoByWxAppId" resultMap="PileMerchantInfoResult">
|
||||
select
|
||||
<include refid="Base_Column_List"/>
|
||||
from pile_merchant_info
|
||||
@@ -361,24 +372,34 @@
|
||||
and merchant_level = '1'
|
||||
</select>
|
||||
|
||||
<select id="getFirstLevelMerchantByAppId" resultMap="PileMerchantInfoResult">
|
||||
<select id="getFirstLevelMerchantByWxAppId" resultMap="PileMerchantInfoResult">
|
||||
select
|
||||
<include refid="Base_Column_List"/>
|
||||
from
|
||||
pile_merchant_info
|
||||
where del_flag = '0'
|
||||
and merchant_level = '1'
|
||||
and app_id = #{appId,jdbcType=VARCHAR}
|
||||
and app_id = #{wxAppId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="getDeptIdsByAppId" resultType="java.lang.String">
|
||||
<select id="getFirstLevelMerchantByAlipayAppId" resultMap="PileMerchantInfoResult">
|
||||
select
|
||||
<include refid="Base_Column_List"/>
|
||||
from
|
||||
pile_merchant_info
|
||||
where del_flag = '0'
|
||||
and merchant_level = '1'
|
||||
and alipay_app_id = #{alipayAppId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="getDeptIdsByWxAppId" resultType="java.lang.String">
|
||||
select
|
||||
dept_id as deptId
|
||||
from
|
||||
pile_merchant_info
|
||||
where del_flag = '0'
|
||||
<if test="appId != null and appId != ''">
|
||||
and app_id = #{appId,jdbcType=VARCHAR}
|
||||
and (app_id = #{appId,jdbcType=VARCHAR} or alipay_app_id = #{appId,jdbcType=VARCHAR})
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user