|
@@ -257,8 +257,10 @@
|
|
|
(select label from pay_sys_dict where type = '交易状态' and value = max(reced.state) and site_id = #{siteId} and customer_id =#{customerId}) as "statename",
|
|
|
max(invoice_id) as "invoiceId",
|
|
|
max(iscanceled) as "iscanceled",
|
|
|
+ (select name from sc_user where id= max(reced.cancelperson)) as "cancelperson",
|
|
|
max(canceltime) as "canceltime",
|
|
|
- max(create_date) as "createDate"
|
|
|
+ max(create_date) as "createDate",
|
|
|
+ max(canceledrecord_id) as "canceledrecordId"
|
|
|
from pay_pay_received reced
|
|
|
where
|
|
|
account_id=#{accountId}
|