fix 账单码查询时间

master
taylor.dang 6 years ago
parent 01d41922c2
commit 5fce139e12

@ -3,7 +3,7 @@
<mapper namespace="au.com.royalpay.payment.manage.mappers.bill.BillMapper"> <mapper namespace="au.com.royalpay.payment.manage.mappers.bill.BillMapper">
<select id="listWithOrderAnalysis" resultType="com.alibaba.fastjson.JSONObject" > <select id="listWithOrderAnalysis" resultType="com.alibaba.fastjson.JSONObject" >
select b.bill_id,b.status,b.currency,DATE_FORMAT(b.create_time,'%Y-%c-%e') create_date, DATE_FORMAT(b.create_time,'%H:%m:%s') create_time,b.remark,b.price,count(o.bill_order_id) order_counts,sum(o.order_total_amount) order_total_amount select b.bill_id,b.status,b.currency,DATE_FORMAT(b.create_time, '%Y-%m-%d') create_date,DATE_FORMAT(b.create_time, '%k:%i:%s') create_time,b.remark,b.price,count(o.bill_order_id) order_counts,sum(o.order_total_amount) order_total_amount
from pmt_bill b left join pmt_bill_order o from pmt_bill b left join pmt_bill_order o
on b.bill_id = o.bill_id and o.order_status = 1 on b.bill_id = o.bill_id and o.order_status = 1
<where> <where>

Loading…
Cancel
Save