From cc479e6a056785103996cc7ea67dbd5faa3e800e Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 19 十月 2026 18:07:22 +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