From d9281d43e27ab6c510d390ddb26eaffc8ccc1add Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 11 十一月 2026 14:04:52 +0800
Subject: [PATCH] 妇幼-补充住院随访档案生成日志、完成事件及自检文件

---
 smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml
index 3a660f3..4ac9912 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml
@@ -131,7 +131,10 @@
             <if test="partId != null">and part_id = #{partId}</if>
             <if test="partName != null">and part_name = #{partName}</if>
             <if test="typeId != null">and type_id = #{typeId}</if>
-            <if test="typeName != null">and type_name = #{type}</if>
+            <!-- 鍘熶负 `#{type}`锛氬疄浣撲笂鍙湁 typeName锛坱est 閲岀敤鐨勪篃鏄� typeName锛夛紝
+                 `type` 涓嶅瓨鍦� 鈥斺�� 璇ュ垎鏀竴璧板埌灏辨姏
+                 ReflectionException: no getter for 'type'銆� -->
+            <if test="typeName != null">and type_name = #{typeName}</if>
             <if test="filmFlag != null">and film_flag = #{filmFlag}</if>
             <if test="bedFlag != null">and bed_flag = #{bedFlag}</if>
             <if test="pushFlag != null">and push_flag = #{pushFlag}</if>

--
Gitblit v1.9.3