From 35c682a3a8030a8619da0a48fde28df21a883abf Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 01 八月 2025 17:37:41 +0800
Subject: [PATCH] 代码提交

---
 jh-module-ecg/jh-module-ecg-biz/src/main/resources/mapper/appointment/AppointmentMapper.xml |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/resources/mapper/appointment/AppointmentMapper.xml b/jh-module-ecg/jh-module-ecg-biz/src/main/resources/mapper/appointment/AppointmentMapper.xml
index 29a842c..69f0e7f 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/resources/mapper/appointment/AppointmentMapper.xml
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/resources/mapper/appointment/AppointmentMapper.xml
@@ -9,4 +9,13 @@
         鏂囨。鍙锛歨ttps://www.iocoder.cn/MyBatis/x-plugins/
      -->
 
-</mapper>
\ No newline at end of file
+    <update id="updateStatusByApplyNo">
+        update lihu.appointment
+        set status = #{status},update_time=sysdate()
+        <if test="registerDate != null">
+            , register_date = #{registerDate}
+        </if>
+        where apply_no = #{applyNo}
+    </update>
+
+</mapper>

--
Gitblit v1.9.3