From 598271eff3de5d746e20e2c4b7848c75bb5c1092 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 12 六月 2024 09:51:31 +0800
Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV

---
 pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeVirtualCardMapper.xml |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeVirtualCardMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeVirtualCardMapper.xml
index 6a719e6..dd319b6 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeVirtualCardMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeVirtualCardMapper.xml
@@ -145,7 +145,12 @@
       create_time = #{createTime,jdbcType=TIMESTAMP}
     where id = #{id,jdbcType=BIGINT}
   </update>
-
+  <update id="updateVcCardNoUseStateByIntakeId" parameterType="java.lang.Long">
+    update se_virtual_card
+    set in_use = 0,
+      intake_id = null
+    where intake_id = #{intakeId,jdbcType=BIGINT}
+  </update>
   <!--楠岃瘉鍐滄埛鏄惁鎷ユ湁鎸囧畾鍚嶇О鐨勮櫄鎷熷崱-->
   <select id="getRecordCountByName" resultType="java.lang.Integer">
     SELECT COUNT(*) AS recordCount
@@ -216,4 +221,5 @@
     ORDER BY vc_num desc
     LIMIT 0,1
   </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0