From fb89df539c6293a41933e445df25fa9b8047ba18 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 09 十一月 2026 14:30:52 +0800
Subject: [PATCH] 补充数据库修复/排查脚本,新增 .gitignore

---
 smartor/src/main/resources/mapper/smartor/PatMaternityArchiveMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/PatMaternityArchiveMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMaternityArchiveMapper.xml
index dac32bf..194b85f 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMaternityArchiveMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMaternityArchiveMapper.xml
@@ -130,6 +130,7 @@
     <select id="selectPatMaternityArchiveById" parameterType="Long" resultMap="PatMaternityArchiveResult">
         <include refid="selectPatMaternityArchiveVo"/>
         where id = #{id}
+        and del_flag = '0'
     </select>
 
     <insert id="insertPatMaternityArchive" parameterType="com.smartor.domain.PatMaternityArchive"

--
Gitblit v1.9.3