add getaway 14

master
yuan 6 years ago
parent f83270be4c
commit cbb7ac69a4

@ -200,6 +200,8 @@
THEN 'MICROAPP'
WHEN 13
THEN 'Native QR Code'
WHEN 14
THEN 'Share Link'
END AS gateway_label,
ifnull(sum(if(l.transaction_type='Credit',l.clearing_amount,0)), 0) aud_fee
FROM pmt_transactions l
@ -463,6 +465,8 @@
THEN 'MICROAPP'
WHEN 13
THEN 'Native QR Code'
WHEN 14
THEN 'Share Link'
END AS gateway_label,
ifnull(COUNT(DISTINCT l.client_id), 0) partner_count
FROM pmt_transactions l
@ -526,6 +530,9 @@
<if test="trade_type=='Native QR Code'">
and o.gateway=13
</if>
<if test="trade_type=='Share Link'">
and o.gateway=14
</if>
<if test="org_id!=null and org_ids==null">and l.org_id=#{org_id}</if>
<if test="org_ids!=null">and l.org_id in
<foreach collection="org_ids" item="org_id" open="(" close=")" separator=",">#{org_id}</foreach></if>
@ -615,6 +622,9 @@
<if test="trade_type=='Native QR Code'">
and o.gateway=13
</if>
<if test="trade_type=='Share Link'">
and o.gateway=14
</if>
<if test="org_id!=null and org_ids==null">and ptran.org_id=#{org_id}</if>
<if test="org_ids!=null">and ptran.org_id in
<foreach collection="org_ids" item="org_id" open="(" close=")" separator=",">#{org_id}</foreach></if>

@ -89,6 +89,8 @@
THEN 'MICROAPP'
WHEN 13
THEN 'Native QR Code'
WHEN 14
THEN 'Share Link'
END AS gateway,
p.client_moniker partner_code,
p.short_name partner_name,

@ -544,7 +544,9 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
case '12':
return 'MICROAPP';
case '13':
return 'Native QR Code'
return 'Native QR Code';
case '14':
return 'Share Link'
}
}
});

@ -329,6 +329,8 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
case '12':
return '小程序';
case '13':
return '原生二维码';
case '14':
return '原生二维码'
}
}

Loading…
Cancel
Save