v1.1 后台-充值明细-金额取两位小数
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
|
||||
<select id="page" resultMap="BaseResultMap">
|
||||
select * from (
|
||||
select a.charge_record_id chargeRecordId, b.erban_no,b.nick,b.phone,b.channel app_channel,a.uid,a.channel,round(a.amount/100) amount, local_currency_code localCurrencyCode, round(a.local_amount/100) localAmount,
|
||||
select a.charge_record_id chargeRecordId, b.erban_no,b.nick,b.phone,b.channel app_channel,a.uid,a.channel,
|
||||
round(a.amount/100,2) amount, local_currency_code localCurrencyCode, round(a.local_amount/100,2) localAmount,
|
||||
a.charge_status status,DATE_FORMAT(a.create_time, '%Y-%m-%d %H:%i:%s') createTime,
|
||||
if(date(a.create_time)=date(b.create_time), 1, 0) as new_user from charge_record
|
||||
as a
|
||||
|
Reference in New Issue
Block a user