From ea219f4389c52d0bac442c7a351767160c9814c5 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期一, 10 三月 2025 16:26:20 +0800
Subject: [PATCH] 缴费修改

---
 exam-system/src/main/resources/mapper/pay/CoalPayStudentMapper.xml |   24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/exam-system/src/main/resources/mapper/pay/CoalPayStudentMapper.xml b/exam-system/src/main/resources/mapper/pay/CoalPayStudentMapper.xml
index e74de69..f7481ef 100644
--- a/exam-system/src/main/resources/mapper/pay/CoalPayStudentMapper.xml
+++ b/exam-system/src/main/resources/mapper/pay/CoalPayStudentMapper.xml
@@ -156,7 +156,27 @@
     </select>
 
     <select id="selectByIdcard" resultType="com.gkhy.exam.pay.entity.CoalPayStudent">
-        <include refid="selectCoalPayStudentVo"></include>
-        where id_card=#{idCard} and phone=#{phone} and del_flag = 0
+        select cps.id,
+               cps.coal_pay_id,
+               cps.name,
+               cps.id_card,
+               cps.phone,
+               cps.sex,
+               cps.pay_code,
+               cps.pay_status,
+               cps.pay_type,
+               cps.order_id,
+               cps.file_data,
+               cps.gov_pay_status,
+               cps.update_by,
+               cps.update_time,
+               cps.create_by,
+               cps.create_time,
+               cps.del_flag,
+               cps.order_no,
+               cps.pay_time
+        from coal_pay_student cps
+        left join coal_pay cp on cps.coal_pay_id = cp.id
+        where cps.id_card=#{idCard} and cps.phone=#{phone} and cps.del_flag = 0 and cp.del_flag = 0
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.2