Browse Source

实收返回是否作废

wangli 4 years ago
parent
commit
58ed090419

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

@@ -255,7 +255,8 @@
                 (case when  min(reced.payway) != 5 then min(reced.payway) else max(reced.payway) end )
                  and site_id = #{siteId} and customer_id =#{customerId}) as "paywayname",
             (select label from pay_sys_dict where type = '交易状态' and value =  max(reced.state) and site_id = #{siteId} and customer_id =#{customerId}) as "statename",
-            max(reced.invoice_id) as "invoiceId",
+            max(invoice_id) as "invoiceId",
+            max(iscanceled) as "iscanceled",
             max(canceltime) as "canceltime",
             max(create_date) as "createDate"
         from pay_pay_received reced