From 96de4cd0f9d994919ae0c3d70652fdbe382949d3 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 20 十月 2026 14:45:58 +0800
Subject: [PATCH] 【丽水】丽水中医院根据下次任务ID生成再次随访

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

diff --git a/smartor/src/main/resources/mapper/smartor/PatChildArchiveMapper.xml b/smartor/src/main/resources/mapper/smartor/PatChildArchiveMapper.xml
index 7e6ee5e..95fb901 100644
--- a/smartor/src/main/resources/mapper/smartor/PatChildArchiveMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatChildArchiveMapper.xml
@@ -144,6 +144,7 @@
     <select id="selectPatChildArchiveById" parameterType="Long" resultMap="PatChildArchiveResult">
         <include refid="selectPatChildArchiveVo"/>
         where id = #{id}
+        and del_flag = '0'
     </select>
 
     <insert id="insertPatChildArchive" parameterType="com.smartor.domain.PatChildArchive"

--
Gitblit v1.9.3