From 56c9cd32e5728799118562c1ce0fe25fd7caaadb Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: 星期三, 22 一月 2025 10:38:59 +0800
Subject: [PATCH] 特种作业非煤缴费版本导入优化

---
 exam-system/src/main/resources/mapper/pay/NonCoalPayStudentMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/exam-system/src/main/resources/mapper/pay/NonCoalPayStudentMapper.xml b/exam-system/src/main/resources/mapper/pay/NonCoalPayStudentMapper.xml
index b609a23..d54cf36 100644
--- a/exam-system/src/main/resources/mapper/pay/NonCoalPayStudentMapper.xml
+++ b/exam-system/src/main/resources/mapper/pay/NonCoalPayStudentMapper.xml
@@ -101,6 +101,7 @@
         set pay_type  = 2,
             update_by = #{updateBy}
         where non_coal_pay_id = #{id}
+          and pay_status = 0
     </update>
     <update id="updateNonCoalPayStudent" parameterType="NonCoalPayStudent">
         update non_coal_pay_student

--
Gitblit v1.9.2