From c036557db88c6297b9a626a892dce35c14ab8ee5 Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期四, 09 十一月 2023 18:30:31 +0800
Subject: [PATCH] 11.6

---
 cloud-server-competition/src/main/resources/mapper/PaymentCompetitionMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cloud-server-competition/src/main/resources/mapper/PaymentCompetitionMapper.xml b/cloud-server-competition/src/main/resources/mapper/PaymentCompetitionMapper.xml
index afed275..a5c2c8c 100644
--- a/cloud-server-competition/src/main/resources/mapper/PaymentCompetitionMapper.xml
+++ b/cloud-server-competition/src/main/resources/mapper/PaymentCompetitionMapper.xml
@@ -37,7 +37,7 @@
         SELECT DATE_FORMAT(insertTime, '%m-%d %H:%i')as `time`,
         amount
         from t_payment_competition
-        where  payStatus = 2 and payType in (1,2)
+        where  payStatus in (2,3) and payType in (1,2)
         <if test="null != monthStart and '' != monthStart and null != monthEnd and '' != monthEnd">
             and DATE_FORMAT(payTime, '%Y-%m-%d %H:%i:%s') between #{monthStart} and #{monthEnd}
         </if>
@@ -46,7 +46,7 @@
         </if>
     </select>
     <select id="queryCancelDatas" resultType="com.dsh.competition.feignclient.model.BillingRequest">
-        SELECT DATE_FORMAT(insertTime, '%m-%d %H:%i')as `time`,
+        SELECT DATE_FORMAT(refundTime, '%m-%d %H:%i')as `time`,
         amount
         from t_payment_competition
         where  payStatus = 3 and payType in (1,2)

--
Gitblit v1.7.1