Browse Source

实收返回取消人

wangli 4 years ago
parent
commit
88b78dd5c0

+ 3 - 1
smart-city-platform/src/main/resources/mapper/pay/payFeeMapper.xml

@@ -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}