From 10343cb5deaecc2bf3023317a4c142ba84ec3b72 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期一, 09 十一月 2026 15:30:55 +0800
Subject: [PATCH] feat: 统一档案随访周期 followupPeriod

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

diff --git a/smartor/src/main/resources/mapper/smartor/PatChildArchiveDetailMapper.xml b/smartor/src/main/resources/mapper/smartor/PatChildArchiveDetailMapper.xml
index d17a477..b2d555a 100644
--- a/smartor/src/main/resources/mapper/smartor/PatChildArchiveDetailMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatChildArchiveDetailMapper.xml
@@ -47,6 +47,7 @@
         <result property="highRiskChildType" column="high_risk_child_type"/>
         <result property="highRiskChildName" column="high_risk_child_name"/>
         <result property="plannedFollowTime" column="planned_follow_time"/>
+        <result property="followupPeriod" column="followup_period"/>
         <result property="hrcGrowthDevelopmentMonitoring" column="hrc_growth_development_monitoring"/>
         <result property="hrcNeurologicalEvaluation" column="hrc_neurological_evaluation"/>
         <result property="hrcInterventionRecords" column="hrc_intervention_records"/>
@@ -107,6 +108,7 @@
                high_risk_child_type,
                high_risk_child_name,
                planned_follow_time,
+               followup_period,
                hrc_growth_development_monitoring,
                hrc_neurological_evaluation,
                hrc_intervention_records,
@@ -132,6 +134,7 @@
             and del_flag = '0'
             <if test="archiveid != null">and archiveid = #{archiveid}</if>
             <if test="archiveType != null and archiveType != ''">and archive_type = #{archiveType}</if>
+            <if test="followupPeriod != null and followupPeriod != ''">and followup_period = #{followupPeriod}</if>
             <if test="sourceType != null and sourceType != ''">and source_type = #{sourceType}</if>
             <if test="outhospno != null and outhospno != ''">and outhospno = #{outhospno}</if>
             <if test="inhospno != null and inhospno != ''">and inhospno = #{inhospno}</if>
@@ -222,6 +225,7 @@
             <if test="highRiskChildType != null">high_risk_child_type,</if>
             <if test="highRiskChildName != null">high_risk_child_name,</if>
             <if test="plannedFollowTime != null">planned_follow_time,</if>
+            <if test="followupPeriod != null">followup_period,</if>
             <if test="hrcGrowthDevelopmentMonitoring != null">hrc_growth_development_monitoring,</if>
             <if test="hrcNeurologicalEvaluation != null">hrc_neurological_evaluation,</if>
             <if test="hrcInterventionRecords != null">hrc_intervention_records,</if>
@@ -280,6 +284,7 @@
             <if test="highRiskChildType != null">#{highRiskChildType},</if>
             <if test="highRiskChildName != null">#{highRiskChildName},</if>
             <if test="plannedFollowTime != null">#{plannedFollowTime},</if>
+            <if test="followupPeriod != null">#{followupPeriod},</if>
             <if test="hrcGrowthDevelopmentMonitoring != null">#{hrcGrowthDevelopmentMonitoring},</if>
             <if test="hrcNeurologicalEvaluation != null">#{hrcNeurologicalEvaluation},</if>
             <if test="hrcInterventionRecords != null">#{hrcInterventionRecords},</if>
@@ -342,6 +347,7 @@
             <if test="highRiskChildType != null">high_risk_child_type = #{highRiskChildType},</if>
             <if test="highRiskChildName != null">high_risk_child_name = #{highRiskChildName},</if>
             <if test="plannedFollowTime != null">planned_follow_time = #{plannedFollowTime},</if>
+            <if test="followupPeriod != null">followup_period = #{followupPeriod},</if>
             <if test="hrcGrowthDevelopmentMonitoring != null">hrc_growth_development_monitoring = #{hrcGrowthDevelopmentMonitoring},</if>
             <if test="hrcNeurologicalEvaluation != null">hrc_neurological_evaluation = #{hrcNeurologicalEvaluation},</if>
             <if test="hrcInterventionRecords != null">hrc_intervention_records = #{hrcInterventionRecords},</if>

--
Gitblit v1.9.3