浏览代码

实收返回是否作废

wangli 4 年之前
父节点
当前提交
58ed090419
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      smart-city-platform/src/main/resources/mapper/pay/payFeeMapper.xml

+ 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