master
wangning 7 years ago
parent a1eb86e9ee
commit 53d001a965

@ -345,7 +345,12 @@
* @apiSuccess {String} create_time 订单创建时间最新订单为准yyyy-MM-dd HH:mm:ssGMT+10
* @apiSuccess {String} currency 币种通常为AUD
* @apiSuccess {String} channel 支付渠道 Alipay|支付宝Wechat|微信Bestpay|翼支付
* @apiSuccess {Json} customer_info 仅支付宝返回该参数其他渠道为空对象
* @apiSuccess {Json} customer_info
* <ul>
* <li>alipay_user_id:用户id</li>
* <li>alipay_account:用户账号</li>
* </ul>
* 仅支付宝返回该参数其他渠道为空对象
*
* @apiUse GlobalError
* @apiError (ERROR_CODE) ORDER_NOT_EXIST 订单不存在

@ -498,7 +498,7 @@
FROM pmt_transactions t
INNER JOIN pmt_orders o ON o.order_id = t.order_id
INNER JOIN sys_clients c ON c.client_id = o.client_id AND c.org_id = 1
WHERE year(o.create_time) = #{year} AND month(o.create_time) = #{month} AND
WHERE year(o.create_time) = #{year} AND month(o.create_time) = #{month}
AND(
t.transaction_type = 'Credit'
OR t.refund_id IS NOT NULL

Loading…
Cancel
Save